[vlc-devel] [PATCH 10/24] avcodec: map Bethesda VID
Daniel Verkamp
daniel at drv.nu
Fri Jun 20 08:25:11 CEST 2014
Sample:
http://fate-suite.libav.org/bethsoft-vid/ANIM0001.VID
---
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 119b134..25d1937 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -158,6 +158,7 @@
#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')
+#define VLC_CODEC_BETHSOFTVID VLC_FOURCC('B','V','I','D')
/* 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 e9a2ee5..0edb5d2 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -157,7 +157,7 @@ static const struct
{ VLC_CODEC_THP, AV_CODEC_ID_THP, VIDEO_ES },
{ VLC_CODEC_SGI, AV_CODEC_ID_SGI, VIDEO_ES },
{ VLC_CODEC_C93, AV_CODEC_ID_C93, VIDEO_ES },
- /* AV_CODEC_ID_BETHSOFTVID */
+ { VLC_CODEC_BETHSOFTVID, AV_CODEC_ID_BETHSOFTVID, VIDEO_ES },
/* AV_CODEC_ID_PTX */
{ VLC_CODEC_TXD, AV_CODEC_ID_TXD, VIDEO_ES },
{ VLC_CODEC_VP6A, AV_CODEC_ID_VP6A, VIDEO_ES },
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 36bf108..89e4123 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1075,6 +1075,8 @@ static const staticentry_t p_list_video[] = {
B(VLC_CODEC_C93, "Interplay C93"),
+ B(VLC_CODEC_BETHSOFTVID, "Bethesda VID"),
+
B(0, "")
};
static const staticentry_t p_list_audio[] = {
--
2.0.0
More information about the vlc-devel
mailing list