qdm2dec: check remaining input bits in the mainloop of qdm2_fft_decode_tones()
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 18 Nov 2011 16:56:24 +0000 (17:56 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Nov 2011 20:59:45 +0000 (21:59 +0100)
commit2c8ac664561a1843f299295443720ce83105c024
tree8f20fc2d35e7bffaa88beb19a7089991d7cd89c9
parent4f209fe9606a4fb73f2f10d9106a8e990dac3b8d
qdm2dec: check remaining input bits in the mainloop of qdm2_fft_decode_tones()
This is neccessary but likely not sufficient to prevent out of array reads.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 14db3af4f26dad8e6ddf2147e96ccc710952ad4d)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8120a1d9bd4bcc4434b4f588f50c9d81aa8ad0e0)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/qdm2.c