You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/vcr1: return the actual number of consumed bytes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user