Commit 669fe505 authored by Kostya Shishkov's avatar Kostya Shishkov Committed by Diego Biurrun

twinvq: consume block_align+1 packets as full ones

They can be produced by VQF.
Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
parent 1afa8a75
......@@ -523,6 +523,9 @@ int ff_twinvq_decode_frame(AVCodecContext *avctx, void *data,
*got_frame_ptr = 1;
// VQF can deliver packets 1 byte greater than block align
if (buf_size == avctx->block_align + 1)
return buf_size;
return avctx->block_align;
}
......
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