Skip to content
Snippets Groups Projects
Commit 669fe505 authored by Kostya Shishkov's avatar Kostya Shishkov Committed by Diego Biurrun
Browse files

twinvq: consume block_align+1 packets as full ones


They can be produced by VQF.

Signed-off-by: default avatarDiego Biurrun <diego@biurrun.de>
parent 1afa8a75
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment