Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-03 17:44:37 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-09-03 17:44:37 +0400
commita4e70918316c6d1423e559aad15823a5e0453fcf (patch)
treed511839c59ebcc498d1c778277e01e7a4e86e2d1 /libavcodec/vcr1.c
parent40bb950385a470cb8e453f727ee0a9417c654a64 (diff)
avcodec/vcr1: return the actual number of consumed bytes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vcr1.c')
-rw-r--r--libavcodec/vcr1.c2
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 = {