mirror of
https://gerrit.asterisk.org/mp3
synced 2024-07-09 07:38:52 +01:00
build: Remove unused clip variable.
ASTERISK-29708 patches: clang_mp3.patch submitted by Alexander Traud (license 6520) Change-Id: I7dfb112c5255092843546e752ba31711292c6684
This commit is contained in:
parent
03d86c640c
commit
9f039b4a69
1 changed files with 4 additions and 4 deletions
8
layer3.c
8
layer3.c
|
@ -1878,7 +1878,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;
|
||||
|
@ -2013,12 +2013,12 @@ int do_layer3(struct mpstr *mp,unsigned char *pcm_sample,int *pcm_point)
|
|||
|
||||
for(ss=0;ss<SSLIMIT;ss++) {
|
||||
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 {
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue