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)
committerReinhard Tartler <siretart@tauware.de>
Fri, 4 Jan 2013 06:43:38 +0000 (07:43 +0100)
commite3e369f6962cb73ead3ca5d49a5cc313eb85e5fc
treece64f00a47477e51e90ecb61f7426dd496d04f56
parentaa45b90804ab21175b8c116bd8e5eb4b4e85fbcb
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>
(cherry picked from commit 5b051ec3bdc78f3d89e8d1425674cde8fd6c9ccc)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/alsdec.c