diff options
author | Alex Converse <alex.converse@gmail.com> | 2017-02-09 08:28:30 -0800 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2017-02-13 09:31:13 -0800 |
commit | 3bb24fc344f0e8448b3c6826193e8ee43f7d984d (patch) | |
tree | 041b4bb3765ff08cd19bb360478362cc2772a023 /libavcodec/aacdec_template.c | |
parent | 20ea8bf9390b3a68e43bbe666154aa8b5150cad3 (diff) | |
download | ffmpeg-3bb24fc344f0e8448b3c6826193e8ee43f7d984d.tar.gz |
aacsbr: Associate SBR data with AAC elements on init
Quiets some log spam on pure upsampling mode.
Fixes ticket 5163.
Diffstat (limited to 'libavcodec/aacdec_template.c')
-rw-r--r-- | libavcodec/aacdec_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c index e230c87733..d980ae0e22 100644 --- a/libavcodec/aacdec_template.c +++ b/libavcodec/aacdec_template.c @@ -134,7 +134,7 @@ static av_cold int che_configure(AACContext *ac, if (!ac->che[type][id]) { if (!(ac->che[type][id] = av_mallocz(sizeof(ChannelElement)))) return AVERROR(ENOMEM); - AAC_RENAME(ff_aac_sbr_ctx_init)(ac, &ac->che[type][id]->sbr); + AAC_RENAME(ff_aac_sbr_ctx_init)(ac, &ac->che[type][id]->sbr, type); } if (type != TYPE_CCE) { if (*channels >= MAX_CHANNELS - (type == TYPE_CPE || (type == TYPE_SCE && ac->oc[1].m4ac.ps == 1))) { |