Merge "build: Remove unused clip variable."

This commit is contained in:
Kevin Harwell 2022-03-31 12:17:45 -05:00 committed by Gerrit Code Review
commit 9309a9243d

View file

@ -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 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 */ int scalefacs[39]; /* max 39 for short[13][3] mode, mixed: 38, long: 22 */
struct III_sideinfo sideinfo; struct III_sideinfo sideinfo;
struct frame *fr; struct frame *fr;
@ -2012,12 +2012,12 @@ int do_layer3(struct mpstr *mp,unsigned char *pcm_sample,int *pcm_point)
for(ss=0;ss<SSLIMIT;ss++) { for(ss=0;ss<SSLIMIT;ss++) {
if(single >= 0) { if(single >= 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 { else {
int p1 = *pcm_point; int p1 = *pcm_point;
clip += synth_ntom(mp,hybridOut[0][ss],0,pcm_sample,&p1); 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[1][ss],1,pcm_sample,pcm_point);
} }
} }
} }