summaryrefslogtreecommitdiff
path: root/libavcodec/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r--libavcodec/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 8c38b8e8c1..ee4b6fdc66 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -141,7 +141,7 @@ static int raw_close_decoder(AVCodecContext *avctx)
static int raw_init_encoder(AVCodecContext *avctx)
{
- avctx->coded_frame = (AVPicture*)avctx->priv_data;
+ avctx->coded_frame = (AVFrame *)avctx->priv_data;
avctx->coded_frame->pict_type = FF_I_TYPE;
avctx->coded_frame->key_frame = 1;
avctx->codec_tag = findFourCC(avctx->pix_fmt);