]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wnv1.c
Silicon Graphics Movie (.mv) demuxer
[ffmpeg] / libavcodec / wnv1.c
index a99796632d4e23868127f4d7d4ae5422e7892ad1..5dffde1fec229d10ec70586e04b85fe883d58d05 100644 (file)
@@ -59,7 +59,7 @@ static inline int wnv1_get_code(WNV1Context *w, int base_value)
 }
 
 static int decode_frame(AVCodecContext *avctx,
-                        void *data, int *data_size,
+                        void *data, int *got_frame,
                         AVPacket *avpkt)
 {
     const uint8_t *buf = avpkt->data;
@@ -129,7 +129,7 @@ static int decode_frame(AVCodecContext *avctx,
     }
 
 
-    *data_size = sizeof(AVFrame);
+    *got_frame      = 1;
     *(AVFrame*)data = l->pic;
     av_free(rbuf);