]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aaccoder.c
Merge commit '42eb9154a83e9a7aedb1168b2f1112af765cf2b5'
[ffmpeg] / libavcodec / aaccoder.c
index 50a246fb55f772d6339797835d5a03791868560b..37548aae417552deaa4c4e78c688e909ee4144ad 100644 (file)
@@ -776,7 +776,6 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx,
         do {
             int prev = -1;
             tbits = 0;
-            fflag = 0;
             for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) {
                 start = w*128;
                 for (g = 0;  g < sce->ics.num_swb; g++) {
@@ -953,7 +952,6 @@ static void search_for_quantizers_faac(AVCodecContext *avctx, AACEncContext *s,
             }
             sce->zeroes[w*16+g] = 0;
             scf  = prev_scf = av_clip(SCALE_ONE_POS - SCALE_DIV_512 - log2f(1/maxq[w*16+g])*16/3, 60, 218);
-            step = 16;
             for (;;) {
                 float dist = 0.0f;
                 int quant_max;