]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/raw.c
alignment 10l
[ffmpeg] / libavcodec / raw.c
index 8c38b8e8c1e943b0b60f5ca960423df6399ff349..ee4b6fdc66d47a33ba60c7f1a6e095491efb614f 100644 (file)
@@ -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);