[FFmpeg-devel] [PATCH]lavc/webp: Warn if anim chunk is not read

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Apr 12 22:16:13 CEST 2016


Afaict, FFmpeg is not very good at reading webp files.
Attached patch makes it more obvious to the user why.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/webp.c b/libavcodec/webp.c
index 81b2e91..e715c4b 100644
--- a/libavcodec/webp.c
+++ b/libavcodec/webp.c
@@ -1500,7 +1500,7 @@ exif_end:
         case MKTAG('A', 'N', 'M', 'F'):
         case MKTAG('X', 'M', 'P', ' '):
             AV_WL32(chunk_str, chunk_type);
-            av_log(avctx, AV_LOG_VERBOSE, "skipping unsupported chunk: %s\n",
+            av_log(avctx, AV_LOG_WARNING, "skipping unsupported chunk: %s\n",
             bytestream2_skip(&gb, chunk_size);

More information about the ffmpeg-devel mailing list