[vlc-devel] [PATCH 01/10] fourcc: Add VLC_CODEC_SVG

jpsaman at videolan.org jpsaman at videolan.org
Mon May 12 12:04:21 CEST 2014


From: Jean-Paul Saman <jpsaman at videolan.org>

---
 include/vlc_fourcc.h | 1 +
 src/misc/fourcc.c    | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index b9ff963..fbd0d09 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -289,6 +289,7 @@
 #define VLC_CODEC_TIFF            VLC_FOURCC('t','i','f','f')
 #define VLC_CODEC_GIF             VLC_FOURCC('g','i','f',' ')
 #define VLC_CODEC_TARGA           VLC_FOURCC('t','g','a',' ')
+#define VLC_CODEC_SVG             VLC_FOURCC('s','v','g',' ')
 #define VLC_CODEC_SGI             VLC_FOURCC('s','g','i',' ')
 #define VLC_CODEC_PNM             VLC_FOURCC('p','n','m',' ')
 #define VLC_CODEC_PCX             VLC_FOURCC('p','c','x',' ')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 1b48c05..d6f91e9 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -972,6 +972,9 @@ static const staticentry_t p_list_video[] = {
     B(VLC_CODEC_SGI, "SGI Image"),
         A("sgi "),
 
+    B(VLC_CODEC_SVG, "SVG Scalable Vector Graphics Image"),
+        A("svg "),
+
     B(VLC_CODEC_PNM, "Portable Anymap Image"),
         A("pnm "),
 
-- 
1.9.0




More information about the vlc-devel mailing list