[vlc-devel] [PATCH 09/24] avcodec: map Interplay C93

Daniel Verkamp daniel at drv.nu
Fri Jun 20 08:25:10 CEST 2014


Sample:
http://fate-suite.libav.org/cyberia-c93/intro1.c93
---
 include/vlc_fourcc.h           | 1 +
 modules/codec/avcodec/fourcc.c | 2 +-
 src/misc/fourcc.c              | 2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index e4394da..119b134 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -157,6 +157,7 @@
 #define VLC_CODEC_DSICINVIDEO     VLC_FOURCC('D','C','I','V')
 #define VLC_CODEC_TIERTEXSEQVIDEO VLC_FOURCC('T','S','E','Q')
 #define VLC_CODEC_DXA             VLC_FOURCC('D','E','X','A')
+#define VLC_CODEC_C93             VLC_FOURCC('I','C','9','3')
 
 /* Planar YUV 4:1:0 Y:V:U */
 #define VLC_CODEC_YV9             VLC_FOURCC('Y','V','U','9')
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index e626aa6..e9a2ee5 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -156,7 +156,7 @@ static const struct
     { VLC_CODEC_DNXHD, AV_CODEC_ID_DNXHD, VIDEO_ES },
     { VLC_CODEC_THP, AV_CODEC_ID_THP, VIDEO_ES },
     { VLC_CODEC_SGI, AV_CODEC_ID_SGI, VIDEO_ES },
-    /* AV_CODEC_ID_C93 */
+    { VLC_CODEC_C93, AV_CODEC_ID_C93, VIDEO_ES },
     /* AV_CODEC_ID_BETHSOFTVID */
     /* AV_CODEC_ID_PTX */
     { VLC_CODEC_TXD, AV_CODEC_ID_TXD, VIDEO_ES },
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index df2bbec..36bf108 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1073,6 +1073,8 @@ static const staticentry_t p_list_video[] = {
 
     B(VLC_CODEC_DXA, "Feeble Files/ScummVM DXA"),
 
+    B(VLC_CODEC_C93, "Interplay C93"),
+
     B(0, "")
 };
 static const staticentry_t p_list_audio[] = {
-- 
2.0.0




More information about the vlc-devel mailing list