[FFmpeg-devel] [PATCH 6/7] resample: fix set but unused variable (lfe) warning.

Clément Bœsch ubitux at gmail.com
Thu Sep 1 02:30:23 CEST 2011


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

diff --git a/libavcodec/resample.c b/libavcodec/resample.c
index 33413db..a324719 100644
--- a/libavcodec/resample.c
+++ b/libavcodec/resample.c
@@ -121,7 +121,7 @@ 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,lfe av_unused;
         fl = input[0];
         fr = input[1];
         c = input[2];
-- 
1.7.6.1



More information about the ffmpeg-devel mailing list