aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-07-28 19:24:39 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-07-31 17:17:38 +0200
commitcc7eff1fa0b13cede7df176927616d5c3675a020 (patch)
tree5d624dfdf32719f5c2eb4f67193ab5e2d5dedf10
parent89898cd3b6b2806bf823678a47d17f9ed745c69e (diff)
downloadffmpeg-cc7eff1fa0b13cede7df176927616d5c3675a020.tar.gz
vc1dec: count ENDOFSEQ code in return value.
-rw-r--r--libavcodec/vc1dec.c2
1 files changed, 1 insertions, 1 deletions
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) {