]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/avs.c
Silicon Graphics Movie (.mv) demuxer
[ffmpeg] / libavcodec / avs.c
index 4b05bf9400d2ec4e5041226ea5dd31e1066458a7..0881d7417e5b5bb6265e872e9ecf5552009c37a6 100644 (file)
@@ -44,7 +44,7 @@ typedef enum {
 
 static int
 avs_decode_frame(AVCodecContext * avctx,
-                 void *data, int *data_size, AVPacket *avpkt)
+                 void *data, int *got_frame, AVPacket *avpkt)
 {
     const uint8_t *buf = avpkt->data;
     const uint8_t *buf_end = avpkt->data + avpkt->size;
@@ -152,7 +152,7 @@ avs_decode_frame(AVCodecContext * avctx,
     }
 
     *picture   = avs->picture;
-    *data_size = sizeof(AVPicture);
+    *got_frame = 1;
 
     return buf_size;
 }