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