mpg123-1.32.8
This commit is contained in:
@@ -313,10 +313,10 @@ static void II_select_table(mpg123_handle *fr)
|
||||
const struct al_table *tables[5] = { alloc_0, alloc_1, alloc_2, alloc_3 , alloc_4 };
|
||||
const int sblims[5] = { 27 , 30 , 8, 12 , 30 };
|
||||
|
||||
if(fr->sampling_frequency >= 3) /* Or equivalent: (fr->lsf == 1) */
|
||||
if(fr->hdr.sampling_frequency >= 3) /* Or equivalent: (fr->lsf == 1) */
|
||||
table = 4;
|
||||
else
|
||||
table = translate[fr->sampling_frequency][2-fr->stereo][fr->bitrate_index];
|
||||
table = translate[fr->hdr.sampling_frequency][2-fr->stereo][fr->hdr.bitrate_index];
|
||||
|
||||
sblim = sblims[table];
|
||||
fr->alloc = tables[table];
|
||||
@@ -337,7 +337,7 @@ int INT123_do_layer2(mpg123_handle *fr)
|
||||
int single = fr->single;
|
||||
|
||||
II_select_table(fr);
|
||||
fr->jsbound = (fr->mode == MPG_MD_JOINT_STEREO) ? (fr->mode_ext<<2)+4 : fr->II_sblimit;
|
||||
fr->jsbound = (fr->hdr.mode == MPG_MD_JOINT_STEREO) ? (fr->hdr.mode_ext<<2)+4 : fr->II_sblimit;
|
||||
|
||||
if(fr->jsbound > fr->II_sblimit)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user