diff raw.c @ 1266:ec946cb74397 libavcodec

Warning fixes.
author mellum
date Thu, 15 May 2003 01:34:47 +0000
parents b88dfc4bbf8c
children 141a9539e270
line wrap: on
line diff
--- a/raw.c	Thu May 15 00:43:43 2003 +0000
+++ b/raw.c	Thu May 15 01:34:47 2003 +0000
@@ -141,7 +141,7 @@
 
 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);