vc1dec: count ENDOFSEQ code in return value.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 28 Jul 2012 17:24:39 +0000 (19:24 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Tue, 31 Jul 2012 15:17:38 +0000 (17:17 +0200)
libavcodec/vc1dec.c

index b6ffac8..f5fbe54 100644 (file)
@@ -5343,7 +5343,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
             *data_size = sizeof(AVFrame);
         }
 
-        return 0;
+        return buf_size;
     }
 
     if (s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) {