[vlc-devel] [PATCH 11/24] avcodec: map Beam Software VB
Daniel Verkamp
daniel at drv.nu
Fri Jun 20 08:25:12 CEST 2014
Sample:
http://fate-suite.libav.org/SIFF/INTRO_B.VB
---
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 25d1937..17ae183 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -159,6 +159,7 @@
#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')
+#define VLC_CODEC_VB VLC_FOURCC('V','B','V','1')
/* 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 0edb5d2..25b0aab 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -162,7 +162,7 @@ static const struct
{ VLC_CODEC_TXD, AV_CODEC_ID_TXD, VIDEO_ES },
{ VLC_CODEC_VP6A, AV_CODEC_ID_VP6A, VIDEO_ES },
{ VLC_CODEC_AMV, AV_CODEC_ID_AMV, VIDEO_ES },
- /* AV_CODEC_ID_VB */
+ { VLC_CODEC_VB, AV_CODEC_ID_VB, VIDEO_ES },
{ VLC_CODEC_PCX, AV_CODEC_ID_PCX, VIDEO_ES },
/* AV_CODEC_ID_SUNRAST */
{ VLC_CODEC_INDEO4, AV_CODEC_ID_INDEO4, VIDEO_ES },
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 89e4123..7731f7b 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1077,6 +1077,8 @@ static const staticentry_t p_list_video[] = {
B(VLC_CODEC_BETHSOFTVID, "Bethesda VID"),
+ B(VLC_CODEC_VB, "Beam Software VB"),
+
B(0, "")
};
static const staticentry_t p_list_audio[] = {
--
2.0.0
More information about the vlc-devel
mailing list