diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-03 15:44:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-03 15:44:37 +0200 |
commit | a4e70918316c6d1423e559aad15823a5e0453fcf (patch) | |
tree | d511839c59ebcc498d1c778277e01e7a4e86e2d1 /libavcodec | |
parent | 40bb950385a470cb8e453f727ee0a9417c654a64 (diff) | |
download | ffmpeg-a4e70918316c6d1423e559aad15823a5e0453fcf.tar.gz |
avcodec/vcr1: return the actual number of consumed bytes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vcr1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c index 675ada87e4..d6b617a11e 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 = { |