From 23c91abe4f6a76d0a5066adf2abbf8cd66f1b1ec Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 6 Mar 2018 12:44:59 -0800 Subject: [PATCH] avcodec/aacdec: log configuration change details Signed-off-by: Aman Gupta Signed-off-by: Michael Niedermayer --- libavcodec/aacdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 44352764a7..d394700cdc 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -318,8 +318,8 @@ static int latm_decode_audio_specific_config(struct LATMContext *latmctx, ac->oc[1].m4ac.sample_rate != m4ac.sample_rate || ac->oc[1].m4ac.chan_config != m4ac.chan_config) { - if(latmctx->initialized) { - av_log(avctx, AV_LOG_INFO, "audio config changed\n"); + if (latmctx->initialized) { + av_log(avctx, AV_LOG_INFO, "audio config changed (sample_rate=%d, chan_config=%d)\n", m4ac.sample_rate, m4ac.chan_config); } else { av_log(avctx, AV_LOG_DEBUG, "initializing latmctx\n"); }