[FFmpeg-cvslog] opusenc: Fix double-declaration of variable

Mark Thompson git at videolan.org
Wed Oct 18 22:09:01 EEST 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Tue Oct 17 21:47:03 2017 +0100| [242d8c8763d86f27ad3d63a4d48deccbb133c6c7] | committer: Mark Thompson

opusenc: Fix double-declaration of variable

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

 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];



More information about the ffmpeg-cvslog mailing list