[FFmpeg-cvslog] resample: fix set but unused variable (lfe) warning.

Clément Bœsch git at videolan.org
Thu Sep 1 20:26:44 CEST 2011


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu Sep  1 02:15:39 2011 +0200| [b85e9d3104584bf925c368f767190f6a216ffebd] | committer: Clément Bœsch

resample: fix set but unused variable (lfe) warning.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b85e9d3104584bf925c368f767190f6a216ffebd
---

 libavcodec/resample.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/resample.c b/libavcodec/resample.c
index 33413db..77f73cb 100644
--- a/libavcodec/resample.c
+++ b/libavcodec/resample.c
@@ -121,11 +121,11 @@ static void surround_to_stereo(short **output, short *input, int channels, int s
     short l, r;
 
     for (i = 0; i < samples; i++) {
-        int fl,fr,c,rl,rr,lfe;
+        int fl,fr,c,rl,rr;
         fl = input[0];
         fr = input[1];
         c = input[2];
-        lfe = input[3];
+        // lfe = input[3];
         rl = input[4];
         rr = input[5];
 



More information about the ffmpeg-cvslog mailing list