adpcm: check buffer size in IMA DK4 decoder before reading header.
authorJustin Ruggles <justin.ruggles@gmail.com>
Sat, 10 Sep 2011 17:54:02 +0000 (13:54 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 29 Sep 2011 20:54:01 +0000 (16:54 -0400)
commit5c9eb4fabbefd4ebb02620a0a3a6e10032ec069d
treed1a3a15d42ec19d1748e11b4a90e24f55d40eb0f
parenta57ea1a87e6b65194718968fe0b778e843d4d4b0
adpcm: check buffer size in IMA DK4 decoder before reading header.

Also use the post-header data size to control termination of the main
decoding loop.
libavcodec/adpcm.c