mp3: fix start band index for block type 2 in 8kHz audio
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 16 May 2012 16:39:40 +0000 (18:39 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 20 May 2012 08:53:21 +0000 (10:53 +0200)
commitb37d945dd4213cb8e92146571b0374cd45d52286
treedb7c8b0336d14e44515d90a71567c4a10e5796a8
parent68aef0b481f11931f078dc915a93bdfa680f90a4
mp3: fix start band index for block type 2 in 8kHz audio

In hybrid frames long window part ends at 36 samples for most of the cases
but at 72 for 8kHz case. For some reason decoder assumed it's 48 or even 36
samples, which caused wrong bitstream decoding for such blocks.

l3_25207.mpg from conformance suite demonstrates it the best.
libavcodec/mpegaudiodec.c