Get rid of one warning.
authorBenjamin Larsson <banan@ludd.ltu.se>
Sat, 27 Jan 2007 17:30:54 +0000 (17:30 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Sat, 27 Jan 2007 17:30:54 +0000 (17:30 +0000)
Originally committed as revision 7735 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cook.c

index 943addb..bfe1906 100644 (file)
@@ -1155,7 +1155,7 @@ static void dump_cook_context(COOKContext *q, COOKextradata *e)
 
 static int cook_decode_init(AVCodecContext *avctx)
 {
-    COOKextradata *e = avctx->extradata;
+    COOKextradata *e = (COOKextradata *)avctx->extradata;
     COOKContext *q = avctx->priv_data;
 
     /* Take care of the codec specific extradata. */