]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aacpsy.c
Merge commit 'bb428e00ac158244d6691bf135be404e85b66a8b'
[ffmpeg] / libavcodec / aacpsy.c
index 7205ee3bdb8ee91b11311ae3de5e1cddb8619120..49ff3fe139adbe12843f5b1a5162541a8b831a2d 100644 (file)
@@ -313,7 +313,7 @@ static av_cold int psy_3gpp_init(FFPsyContext *ctx) {
     ctx->bitres.size   = 6144 - pctx->frame_bits;
     ctx->bitres.size  -= ctx->bitres.size % 8;
     pctx->fill_level   = ctx->bitres.size;
-    minath = ath(3410, ATH_ADD);
+    minath = ath(3410 - 0.733 * ATH_ADD, ATH_ADD);
     for (j = 0; j < 2; j++) {
         AacPsyCoeffs *coeffs = pctx->psy_coef[j];
         const uint8_t *band_sizes = ctx->bands[j];