summaryrefslogtreecommitdiff
path: root/libavcodec/raw.c
diff options
context:
space:
mode:
authorFalk Hüffner <mellum@users.sourceforge.net>2003-05-15 01:34:47 +0000
committerFalk Hüffner <mellum@users.sourceforge.net>2003-05-15 01:34:47 +0000
commit3db320ea0cef547027f859ac914d4f105a8dad5e (patch)
treef7bc347b933455e32389e1fd1d09ee7130cd50b7 /libavcodec/raw.c
parent94d44f455cc88da93b4fe8f41bd6f5a634ed4713 (diff)
Warning fixes.
Originally committed as revision 1884 to svn://svn.ffmpeg.org/ffmpeg/trunk
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);