The branch, master has been updated
       via  e9a6b753739fe5b314911ff6c8da673c5bce5f63 (commit)
      from  c75439a93bd3785fe98c6bd313b08c4b52d3f274 (commit)


- Log -----------------------------------------------------------------
commit e9a6b753739fe5b314911ff6c8da673c5bce5f63
Author:     Frank Plowman <[email protected]>
AuthorDate: Sat Aug 30 12:10:12 2025 +0100
Commit:     Mark Thompson <[email protected]>
CommitDate: Mon Sep 8 21:13:09 2025 +0000

    lavc/cbs: Make error message more descriptive

diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c
index 6b2ebe597d..0f54c407f3 100644
--- a/libavcodec/cbs.c
+++ b/libavcodec/cbs.c
@@ -231,7 +231,8 @@ static int cbs_read_fragment_content(CodedBitstreamContext 
*ctx,
             unit->content = NULL;
         } else if (err < 0) {
             av_log(ctx->log_ctx, AV_LOG_ERROR, "Failed to read unit %d "
-                   "(type %"PRIu32").\n", i, unit->type);
+                   "(type %"PRIu32"): %s.\n",
+                   i, unit->type, av_err2str(err));
             return err;
         }
     }

-----------------------------------------------------------------------

Summary of changes:
 libavcodec/cbs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to