[vlc-commits] fourcc: add WebP image format

Tristan Matthews git at videolan.org
Wed Mar 21 23:45:58 CET 2018


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Tue Mar  6 01:18:54 2018 -0500| [ca04206095232821323f5624113c570f610e2659] | committer: Tristan Matthews

fourcc: add WebP image format

Refs #19446

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ca04206095232821323f5624113c570f610e2659
---

 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"),
 



More information about the vlc-commits mailing list