diff --git a/layer3.c b/layer3.c index 30e1eb5..7224081 100644 --- a/layer3.c +++ b/layer3.c @@ -1877,7 +1877,7 @@ static void III_hybrid(struct mpstr *mp, real fsIn[SBLIMIT][SSLIMIT],real tsOut[ int do_layer3(struct mpstr *mp,unsigned char *pcm_sample,int *pcm_point) { - int gr, ch, ss,clip=0; + int gr, ch, ss; int scalefacs[39]; /* max 39 for short[13][3] mode, mixed: 38, long: 22 */ struct III_sideinfo sideinfo; struct frame *fr; @@ -2012,12 +2012,12 @@ int do_layer3(struct mpstr *mp,unsigned char *pcm_sample,int *pcm_point) for(ss=0;ss= 0) { - clip += synth_ntom_mono(mp,hybridOut[0][ss],pcm_sample,pcm_point); + synth_ntom_mono(mp,hybridOut[0][ss],pcm_sample,pcm_point); } else { int p1 = *pcm_point; - clip += synth_ntom(mp,hybridOut[0][ss],0,pcm_sample,&p1); - clip += synth_ntom(mp,hybridOut[1][ss],1,pcm_sample,pcm_point); + synth_ntom(mp,hybridOut[0][ss],0,pcm_sample,&p1); + synth_ntom(mp,hybridOut[1][ss],1,pcm_sample,pcm_point); } } }