[FFmpeg-devel] [PATCH 6/9] opusenc: Fix double-declaration of variable

Mark Thompson sw at jkqxz.net
Wed Oct 18 00:12:22 EEST 2017


---
 libavcodec/opusenc_psy.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/opusenc_psy.c b/libavcodec/opusenc_psy.c
index b446d41f75..1b108ecb87 100644
--- a/libavcodec/opusenc_psy.c
+++ b/libavcodec/opusenc_psy.c
@@ -370,7 +370,6 @@ static int celt_search_for_tf(OpusPsyContext *s, OpusPsyStep **start, CeltFrame
     for (cway = 0; cway < 2; cway++) {
         int mag[2];
         int base = f->transient ? 120 : 960;
-        int i;
 
         for (i = 0; i < 2; i++) {
             int c = ff_celt_tf_select[f->size][f->transient][cway][i];
-- 
2.11.0



More information about the ffmpeg-devel mailing list