mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avcodec/twinvq: return the actual number of consumed bytes
Fixes Ticket2980 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cbb7f56dfe
commit
2e7a1fdd6d
@ -512,7 +512,7 @@ int ff_twinvq_decode_frame(AVCodecContext *avctx, void *data,
|
||||
|
||||
*got_frame_ptr = 1;
|
||||
|
||||
return avctx->block_align;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user