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 19:41:32 +0000 (21:41 +0200)
commit97010c74cbff177b58daf9a092b4e37a7da26f85
tree66615aa7b4f5bd3d09de2cb20e21d4c423f2db02
parent0d3a7dd26490156b607541dd2e1faeaa0fc61a88
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>
(cherry picked from commit e191aaca44b986816695e3b7ecfae64697fd6631)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/alsdec.c