[vlc-devel] [PATCH 1/3] fourcc: add WebP image format

Tristan Matthews tmatth at videolan.org
Wed Mar 7 09:27:43 CET 2018


Refs #19446
---
 include/vlc_fourcc.h   | 1 +
 src/misc/fourcc_list.h | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 76d0e5a3aa..40adfeed69 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -406,6 +406,7 @@
 #define VLC_CODEC_PCX             VLC_FOURCC('p','c','x',' ')
 #define VLC_CODEC_XWD             VLC_FOURCC('X','W','D',' ')
 #define VLC_CODEC_TXD             VLC_FOURCC('T','X','D',' ')
+#define VLC_CODEC_WEBP            VLC_FOURCC('W','E','B','P')
 
 
 /* Audio codec */
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index 03117458ad..a7985cfb79 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -1003,6 +1003,9 @@ static const staticentry_t p_list_video[] = {
         A("LJ2C"),
         A("LJ2K"),
 
+    B(VLC_CODEC_WEBP, "WebP Image"),
+        A("WEBP"),
+
     B(VLC_CODEC_LAGARITH, "Lagarith Lossless"),
         A("LAGS"),
 
-- 
2.16.2



More information about the vlc-devel mailing list