From cc7eff1fa0b13cede7df176927616d5c3675a020 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sat, 28 Jul 2012 19:24:39 +0200 Subject: [PATCH] vc1dec: count ENDOFSEQ code in return value. --- libavcodec/vc1dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index b6ffac8da4..f5fbe54c82 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -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) {