OSDN Git Service

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)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 8 May 2015 09:10:51 +0000 (11:10 +0200)
commit243e8443cd9e83c887e3f5edf09a169e7783d14e
treef45f797c979ed3f0acf72b946afb8b36207d5e16
parent295e05a762332c5edcc84c325e94457815a51b5c
alac: Reject rice_limit 0 if compression is used

If in compression mode rice_limit = 0 leads to call
`show_bits(gb, k)` in `decode_scalar` with k = 0.

Request a sample in case it is valid and it should be accepted.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
CC: libav-stable@libav.org
libavcodec/alac.c