OSDN Git Service

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)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 24 Feb 2011 02:51:12 +0000 (21:51 -0500)
commit1574eff3d23ad799d25454a449b01f94795495ea
tree6e273234a184ce8ea2c4f56bab521f0412e30aa5
parentba9516cca845f8d3fb7ac08ef53a996c3ee0dbf5
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>
libavcodec/vmdav.c