alsdec: limit avctx->bits_per_raw_sample to 32
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Sat, 18 Apr 2015 18:29:13 +0000 (20:29 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 5 May 2015 08:22:29 +0000 (10:22 +0200)
commite191aaca44b986816695e3b7ecfae64697fd6631
tree88b6e5aa19ce0f656c6f399dc748fbb822ca4292
parent8fc8024ea56e814cd257d5fe27b21a865080782f
alsdec: limit avctx->bits_per_raw_sample to 32

avctx->bits_per_raw_sample is used in get_sbits_long, which only
supports up to 32 bits.

CC: libav-stable@libav.org
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/alsdec.c