[vlc-commits] avcodec: map Delphine CIN video
Daniel Verkamp
git at videolan.org
Fri Jun 20 16:41:37 CEST 2014
vlc | branch: master | Daniel Verkamp <daniel at drv.nu> | Thu Jun 19 23:25:07 2014 -0700| [e6a28d24ae7e95ae50e65aba9fc3cf049e6ad8f5] | committer: Jean-Baptiste Kempf
avcodec: map Delphine CIN video
Sample:
http://fate-suite.libav.org/delphine-cin/LOGO-partial.CIN
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e6a28d24ae7e95ae50e65aba9fc3cf049e6ad8f5
---
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 4c734b7..2467b66 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -154,6 +154,7 @@
#define VLC_CODEC_WS_VQA VLC_FOURCC('W','V','Q','A')
#define VLC_CODEC_MMVIDEO VLC_FOURCC('M','M','V','I')
#define VLC_CODEC_AVS VLC_FOURCC('A','V','S','V')
+#define VLC_CODEC_DSICINVIDEO VLC_FOURCC('D','C','I','V')
/* 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 53b0031..2082f48 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -148,7 +148,7 @@ static const struct
{ VLC_CODEC_VP6, AV_CODEC_ID_VP6, VIDEO_ES },
{ VLC_CODEC_VP6F, AV_CODEC_ID_VP6F, VIDEO_ES },
{ VLC_CODEC_TARGA, AV_CODEC_ID_TARGA, VIDEO_ES },
- /* AV_CODEC_ID_DSICINVIDEO */
+ { VLC_CODEC_DSICINVIDEO, AV_CODEC_ID_DSICINVIDEO, VIDEO_ES },
/* AV_CODEC_ID_TIERTEXSEQVIDEO */
{ VLC_CODEC_TIFF, AV_CODEC_ID_TIFF, VIDEO_ES },
{ VLC_CODEC_GIF, AV_CODEC_ID_GIF, VIDEO_ES },
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 769e459..27f60e2 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1067,6 +1067,8 @@ static const staticentry_t p_list_video[] = {
B(VLC_CODEC_AVS, "Creature Shock AVS"),
+ B(VLC_CODEC_DSICINVIDEO, "Delphine CIN video"),
+
B(0, "")
};
static const staticentry_t p_list_audio[] = {
More information about the vlc-commits
mailing list