vmdaudio: simplify vmdaudio_decode_frame() by handling block_type first, then making...
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 23 Feb 2011 18:11:10 +0000 (13:11 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Feb 2011 02:16:03 +0000 (03:16 +0100)
commit504dff8e4ec7e282bed5bf1f31d5ede765643d3e
tree2dd731d9eebc17cbb472515817968f6845caa8f8
parent83e94d50cbc55f8185fef98aebd2781525b8e3c5
vmdaudio: simplify vmdaudio_decode_frame() by handling block_type first, then making a single call to vmdaudio_loadsound().

This also adds output buffer size checks for AUDIO and SILENCE block types.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 1574eff3d23ad799d25454a449b01f94795495ea)
libavcodec/vmdav.c