mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge commit '669fe505952f3d8175b1ad6971033a8e8120523b'
* commit '669fe505952f3d8175b1ad6971033a8e8120523b':
twinvq: consume block_align+1 packets as full ones
Conflicts:
libavcodec/twinvq.c
See: 2e7a1fdd6d
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
726566704f
@ -521,7 +521,10 @@ int ff_twinvq_decode_frame(AVCodecContext *avctx, void *data,
|
||||
|
||||
*got_frame_ptr = 1;
|
||||
|
||||
return ret;
|
||||
// VQF can deliver packets 1 byte greater than block align
|
||||
if (buf_size == avctx->block_align + 1)
|
||||
return buf_size;
|
||||
return avctx->block_align;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user