Commit a4e70918 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/vcr1: return the actual number of consumed bytes

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 40bb9503
......@@ -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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment