alac: reject rice_limit 0 if compression is used
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 23 Apr 2015 22:01:43 +0000 (00:01 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 23 Apr 2015 23:15:41 +0000 (01:15 +0200)
commit4b657a1b1eedcf38bcf36e89a2f4be6f76b5ce09
treeae7bd037cd67d33d767556169245df19397d5c43
parent802c0af68f22b0c3cd4ad3d29f5094e9377995de
alac: reject rice_limit 0 if compression is used

If rice_limit is 0, k can be 0 in decode_scalar, which calls show_bits(gb, k).

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/alac.c