Merge commit '95d52464542f532061290192518d5fe1c1930e8d'
[ffmpeg.git] / libavcodec / libfdk-aacenc.c
index e3992e1dbe4232b00507111931b1be0331f49916..034701a45d947f5e9dc627534733a2807098d02c 100644 (file)
@@ -197,6 +197,7 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
             avctx->bit_rate = (96*sce + 128*cpe) * avctx->sample_rate / 44;
             if (avctx->profile == FF_PROFILE_AAC_HE ||
                 avctx->profile == FF_PROFILE_AAC_HE_V2 ||
+                avctx->profile == FF_PROFILE_MPEG2_AAC_HE ||
                 s->eld_sbr)
                 avctx->bit_rate /= 2;
         }