summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc_tns.c
diff options
context:
space:
mode:
authorClaudio Freire <klaussfreire@gmail.com>2016-01-17 13:14:24 -0300
committerClaudio Freire <klaussfreire@gmail.com>2016-01-17 13:14:24 -0300
commit69697be92200ff2222f8c59158f35b1771f0c002 (patch)
tree78b59c31b1945b1c40c2da37b0960a04e58c40b6 /libavcodec/aacenc_tns.c
parent3d0849cc90a7098e9992317248a53ef5f29ceffc (diff)
downloadffmpeg-69697be92200ff2222f8c59158f35b1771f0c002.tar.gz
libavcodec/aacenc_tnc.c: remove unused variable w2
No longer needed since previous commit
Diffstat (limited to 'libavcodec/aacenc_tns.c')
-rw-r--r--libavcodec/aacenc_tns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc_tns.c b/libavcodec/aacenc_tns.c
index 414a5e91dd..43fa974581 100644
--- a/libavcodec/aacenc_tns.c
+++ b/libavcodec/aacenc_tns.c
@@ -160,7 +160,7 @@ static inline void quantize_coefs(double *coef, int *idx, float *lpc, int order,
void ff_aac_search_for_tns(AACEncContext *s, SingleChannelElement *sce)
{
TemporalNoiseShaping *tns = &sce->tns;
- int w, w2, g, count = 0;
+ int w, g, count = 0;
double gain, coefs[MAX_LPC_ORDER];
const int mmm = FFMIN(sce->ics.tns_max_bands, sce->ics.max_sfb);
const int is8 = sce->ics.window_sequence[0] == EIGHT_SHORT_SEQUENCE;