[FFmpeg-devel] [PATCH]ape: Show more information for loglevel verbose

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 19 10:53:57 CET 2016


Hi!

As requested by user Andy E.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c
index a528e60..bed9a96 100644
--- a/libavcodec/apedec.c
+++ b/libavcodec/apedec.c
@@ -247,7 +247,7 @@ static av_cold int ape_decode_init(AVCodecContext *avctx)
     s->compression_level = AV_RL16(avctx->extradata + 2);
     s->flags             = AV_RL16(avctx->extradata + 4);
 
-    av_log(avctx, AV_LOG_DEBUG, "Compression Level: %d - Flags: %d\n",
+    av_log(avctx, AV_LOG_VERBOSE, "Compression Level: %d - Flags: %d\n",
            s->compression_level, s->flags);
     if (s->compression_level % 1000 || s->compression_level > COMPRESSION_LEVEL_INSANE ||
         !s->compression_level ||
diff --git a/libavformat/ape.c b/libavformat/ape.c
index 352ddc6..3e81972 100644
--- a/libavformat/ape.c
+++ b/libavformat/ape.c
@@ -337,7 +337,7 @@ static int ape_read_header(AVFormatContext * s)
 
     ape_dumpinfo(s, ape);
 
-    av_log(s, AV_LOG_DEBUG, "Decoding file - v%d.%02d, compression level %"PRIu16"\n",
+    av_log(s, AV_LOG_VERBOSE, "Decoding file - v%d.%02d, compression level %"PRIu16"\n",
            ape->fileversion / 1000, (ape->fileversion % 1000) / 10,
            ape->compressiontype);
 


More information about the ffmpeg-devel mailing list