avcodec/alsdec: fix max bits in ltp prefix code
authorUmair Khan <omerjerk@gmail.com>
Fri, 11 Mar 2016 21:04:30 +0000 (02:34 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 Mar 2016 00:56:58 +0000 (01:56 +0100)
commit5d64ba9d18294a305f4f46c9a64e592dc5d34aa9
tree0f9b9b413a920b51f52a378bf83dcdc70a734807
parent15ef98afd10b3696d29fb6d19606ba03a9dd47ad
avcodec/alsdec: fix max bits in ltp prefix code

The maximum number of bits int the prefix code for
p(0) is 4. By setting it as 3, we were missing the
last 0 bit.
This fixes bug #4715 present on the trac.

Signed-off-by: Umair Khan <omerjerk@gmail.com>
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/alsdec.c