This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 9e8e82308b1d1d1ea4f944ccffe961792e04c49e
Author:     Ramiro Polla <[email protected]>
AuthorDate: Mon Apr 20 20:54:31 2026 +0200
Commit:     Ramiro Polla <[email protected]>
CommitDate: Thu Apr 23 16:46:42 2026 +0000

    avcodec/webp: use av_fourcc2str() to print fourccs
---
 libavcodec/webp.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/libavcodec/webp.c b/libavcodec/webp.c
index 62967a394d..68f843139c 100644
--- a/libavcodec/webp.c
+++ b/libavcodec/webp.c
@@ -1374,8 +1374,6 @@ static int webp_decode_frame(AVCodecContext *avctx, 
AVFrame *p,
     }
 
     while (bytestream2_get_bytes_left(&gb) > 8) {
-        char chunk_str[5] = { 0 };
-
         chunk_type = bytestream2_get_le32(&gb);
         chunk_size = bytestream2_get_le32(&gb);
         if (chunk_size == UINT32_MAX)
@@ -1516,15 +1514,13 @@ exif_end:
         case MKTAG('A', 'N', 'I', 'M'):
         case MKTAG('A', 'N', 'M', 'F'):
         case MKTAG('X', 'M', 'P', ' '):
-            AV_WL32(chunk_str, chunk_type);
             av_log(avctx, AV_LOG_WARNING, "skipping unsupported chunk: %s\n",
-                   chunk_str);
+                   av_fourcc2str(chunk_type));
             bytestream2_skip(&gb, chunk_size);
             break;
         default:
-            AV_WL32(chunk_str, chunk_type);
             av_log(avctx, AV_LOG_VERBOSE, "skipping unknown chunk: %s\n",
-                   chunk_str);
+                   av_fourcc2str(chunk_type));
             bytestream2_skip(&gb, chunk_size);
             break;
         }

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

Reply via email to