[FFmpeg-cvslog] vc1dec: count ENDOFSEQ code in return value.
Nicolas George
git at videolan.org
Tue Jul 31 17:35:55 CEST 2012
ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sat Jul 28 19:24:39 2012 +0200| [cc7eff1fa0b13cede7df176927616d5c3675a020] | committer: Nicolas George
vc1dec: count ENDOFSEQ code in return value.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cc7eff1fa0b13cede7df176927616d5c3675a020
---
libavcodec/vc1dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index b6ffac8..f5fbe54 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) {
More information about the ffmpeg-cvslog
mailing list