mirror of
https://gerrit.asterisk.org/mp3
synced 2024-07-09 07:38:52 +01:00
Merge "build: Remove unused clip variable."
This commit is contained in:
commit
9309a9243d
1 changed files with 4 additions and 4 deletions
8
layer3.c
8
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 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue