]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/xxan.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / xxan.c
index 47b3544b05a0b579f17f15b54966fb4ac5a2e5ae..ed1821772f53a142b1c3bd3df24c6ed66bc9eb6f 100644 (file)
@@ -369,7 +369,7 @@ static int xan_decode_frame_type1(AVCodecContext *avctx)
 }
 
 static int xan_decode_frame(AVCodecContext *avctx,
-                            void *data, int *data_size,
+                            void *data, int *got_frame,
                             AVPacket *avpkt)
 {
     XanContext *s = avctx->priv_data;
@@ -401,7 +401,7 @@ static int xan_decode_frame(AVCodecContext *avctx,
     if (ret)
         return ret;
 
-    *data_size = sizeof(AVFrame);
+    *got_frame = 1;
     *(AVFrame*)data = s->pic;
 
     return avpkt->size;