ffmpeg | branch: master | softworkz <softwo...@hotmail.com> | Wed Mar 12 
03:48:20 2025 +0000| [0978fea7fa78782377c8b537969f4df1773d82ac] | committer: 
Michael Niedermayer

avcodec/vlc: Reduce debug logging

Signed-off-by: softworkz <softwo...@hotmail.com>
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0978fea7fa78782377c8b537969f4df1773d82ac
---

 libavcodec/vlc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/vlc.c b/libavcodec/vlc.c
index f46ecbb55e..c49c801181 100644
--- a/libavcodec/vlc.c
+++ b/libavcodec/vlc.c
@@ -155,7 +155,7 @@ static int build_table(VLC *vlc, int table_nb_bits, int 
nb_codes,
         int         n = codes[i].bits;
         uint32_t code = codes[i].code;
         int    symbol = codes[i].symbol;
-        ff_dlog(NULL, "i=%d n=%d code=0x%"PRIx32"\n", i, n, code);
+        ff_tlog(NULL, "i=%d n=%d code=0x%"PRIx32"\n", i, n, code);
         if (n <= table_nb_bits) {
             /* no need to add another table */
             int   j = code >> (32 - table_nb_bits);
@@ -169,7 +169,7 @@ static int build_table(VLC *vlc, int table_nb_bits, int 
nb_codes,
             for (int k = 0; k < nb; k++) {
                 int   bits = table[j].len;
                 int oldsym = table[j].sym;
-                ff_dlog(NULL, "%4x: code=%d n=%d\n", j, i, n);
+                ff_tlog(NULL, "%4x: code=%d n=%d\n", j, i, n);
                 if ((bits || oldsym) && (bits != n || oldsym != symbol)) {
                     av_log(NULL, AV_LOG_ERROR, "incorrect codes\n");
                     return AVERROR_INVALIDDATA;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to