[libav-devel] [PATCH 3/6] cbs: Demote the "decomposition unimplemented" warning

Mark Thompson sw at jkqxz.net
Mon Dec 11 01:44:57 CET 2017


This is harmless and should not be a warning - unknown units are passed
through to the write functions unchanged, and no other code will interact
with them.
---
 libavcodec/cbs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c
index 3baa31a4d..283e2cc59 100644
--- a/libavcodec/cbs.c
+++ b/libavcodec/cbs.c
@@ -121,7 +121,7 @@ static int cbs_read_fragment_content(CodedBitstreamContext *ctx,
 
         err = ctx->codec->read_unit(ctx, &frag->units[i]);
         if (err == AVERROR(ENOSYS)) {
-            av_log(ctx->log_ctx, AV_LOG_WARNING,
+            av_log(ctx->log_ctx, AV_LOG_VERBOSE,
                    "Decomposition unimplemented for unit %d "
                    "(type %d).\n", i, frag->units[i].type);
         } else if (err < 0) {
-- 
2.11.0



More information about the libav-devel mailing list