alsdec: Check that quantized parcor coeffs are within range.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 29 Feb 2012 05:10:17 +0000 (06:10 +0100)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 17 Sep 2012 18:17:27 +0000 (14:17 -0400)
commit5b051ec3bdc78f3d89e8d1425674cde8fd6c9ccc
treeba4eb68cd0f8a2ec4eb6b1a67703bd6bf980fed8
parent9853e41aa0a6cfff629ff7009685eb8bf8d64e7f
alsdec: Check that quantized parcor coeffs are within range.

ALS spec:
11.6.3.1.1 Quantization and encoding of parcor coefficients
...
In all cases the resulting quantized values ak are restricted to the range [-64,63].

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavcodec/alsdec.c