diff options
author | Kieran Kunhya <kierank@ob-encoder.com> | 2013-06-22 10:16:11 -0500 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-06-24 08:03:26 +0200 |
commit | 95d52464542f532061290192518d5fe1c1930e8d (patch) | |
tree | 230b2f45399420dad0b1f26d344d816321ff6abc /libavcodec/libfdk-aacenc.c | |
parent | ace87c19ed4c4882d7b9b3ce512c4c195e39a203 (diff) | |
download | ffmpeg-95d52464542f532061290192518d5fe1c1930e8d.tar.gz |
lavc: Add option to encode MPEG-2 AAC with libfdk-aac
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/libfdk-aacenc.c')
-rw-r--r-- | libavcodec/libfdk-aacenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c index ef154c1adb..49382628e5 100644 --- a/libavcodec/libfdk-aacenc.c +++ b/libavcodec/libfdk-aacenc.c @@ -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; } |