--- layer2.c.orig Tue Sep 7 14:32:13 2004 +++ layer2.c Sat Jan 1 20:21:47 2005 @@ -240,7 +240,7 @@ { alloc_0, alloc_1, alloc_2, alloc_3 , alloc_4 }; static int sblims[5] = { 27 , 30 , 8, 12 , 30 }; - if(fr->lsf) + if(fr->sampling_frequency >= 3) /* Or equivalent: (fr->lsf == 1) */ table = 4; else table = translate[fr->sampling_frequency][2-fr->stereo][fr->bitrate_index];