forked from FFmpeg/FFmpeg
avcodec/vcr1: return the actual number of consumed bytes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
40bb950385
commit
a4e7091831
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue