1
0
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:
Michael Niedermayer 2013-11-14 16:01:57 +01:00
commit 726566704f

View File

@ -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;
}
/**