[FFmpeg-cvslog] avcodec/vcr1: return the actual number of consumed bytes
Michael Niedermayer
git at videolan.org
Tue Sep 3 16:00:06 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 3 15:44:37 2013 +0200| [a4e70918316c6d1423e559aad15823a5e0453fcf] | committer: Michael Niedermayer
avcodec/vcr1: return the actual number of consumed bytes
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a4e70918316c6d1423e559aad15823a5e0453fcf
---
libavcodec/vcr1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c
index 675ada8..d6b617a 100644
--- a/libavcodec/vcr1.c
+++ b/libavcodec/vcr1.c
@@ -123,7 +123,7 @@ static int vcr1_decode_frame(AVCodecContext *avctx, void *data,
*got_frame = 1;
- return buf_size;
+ return bytestream - avpkt->data;
}
AVCodec ff_vcr1_decoder = {
More information about the ffmpeg-cvslog
mailing list