[FFmpeg-devel] [PATCH 3/3] g729dec: fix warnings:

Vitor Sessak vitor1001 at gmail.com
Sun Sep 25 20:07:34 CEST 2011


libavcodec/g729postfilter.c: In function ‘long_term_filter’:
libavcodec/g729postfilter.c:114: warning: unused variable ‘n’
---
 libavcodec/g729postfilter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/g729postfilter.c b/libavcodec/g729postfilter.c
index 8cc29ab..6bd7f64 100644
--- a/libavcodec/g729postfilter.c
+++ b/libavcodec/g729postfilter.c
@@ -111,7 +111,7 @@ static int16_t long_term_filter(DSPContext *dsp, int pitch_delay_int,
                                 const int16_t* residual, int16_t *residual_filt,
                                 int subframe_size)
 {
-    int i, k, n, tmp, tmp2;
+    int i, k, tmp, tmp2;
     int sum;
     int L_temp0;
     int L_temp1;
-- 
1.7.0.4



More information about the ffmpeg-devel mailing list