adpcm: reject invalid QuickTime IMA files
authorRafaël Carré <funman@videolan.org>
Wed, 25 May 2016 08:00:25 +0000 (10:00 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 26 May 2016 16:40:13 +0000 (18:40 +0200)
commit458ed62bbeb9d1bddf7b8df104e14936408a3db9
tree2f6602941b68bed214d4887f44c98347cff8cf81
parent6bb12484082f6ba6217f57c967984eade05a81a0
adpcm: reject invalid QuickTime IMA files

DecodeAdpcmImaQT() can only decode up to stereo files.
Fix out of bound write.

Reported by: Patrick Coleman <blinken@gmail.com>

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/adpcm.c