Actually use all the codebooks we are iterating over in the two-loop scalefactor...
[ffmpeg.git] / libavcodec / aaccoder.c
index 97a5912..3732219 100644 (file)
@@ -690,7 +690,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx,
                                                        scaled + w2*128,
                                                        sce->ics.swb_sizes[g],
                                                        sce->sf_idx[w*16+g],
-                                                       ESC_BT,
+                                                       cb,
                                                        lambda,
                                                        INFINITY,
                                                        &b);