diff options
Diffstat (limited to 'libavcodec/aaccoder.c')
-rw-r--r-- | libavcodec/aaccoder.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c index f2982584d4..be954dd9f8 100644 --- a/libavcodec/aaccoder.c +++ b/libavcodec/aaccoder.c @@ -677,8 +677,10 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, float mindist = INFINITY; int minbits = 0; - if (sce->zeroes[w*16+g] || sce->sf_idx[w*16+g] >= 218) + if (sce->zeroes[w*16+g] || sce->sf_idx[w*16+g] >= 218) { + start += sce->ics.swb_sizes[g]; continue; + } minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]); for (cb = 0; cb <= ESC_BT; cb++) { float dist = 0.0f; |