[FFmpeg-devel] [PATCH]Make the latm decoder less verbose

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 17 09:03:03 CET 2013


Hi!

It may make sense to print a message if the audio configuration changed, I 
don't think that the decoder has to print that its context was initialized.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 947c041..273b972 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -2757,7 +2757,7 @@ static int latm_decode_audio_specific_config(struct LATMContext *latmctx,
         if(latmctx->initialized) {
             av_log(avctx, AV_LOG_INFO, "audio config changed\n");
         } else {
-            av_log(avctx, AV_LOG_INFO, "initializing latmctx\n");
+            av_log(avctx, AV_LOG_DEBUG, "initializing latmctx\n");
         }
         latmctx->initialized = 0;
 


More information about the ffmpeg-devel mailing list