[vlc-commits] avcodec: map Beam Software VB

Daniel Verkamp git at videolan.org
Fri Jun 20 16:41:38 CEST 2014


vlc | branch: master | Daniel Verkamp <daniel at drv.nu> | Thu Jun 19 23:25:12 2014 -0700| [dc0023d765a88d0b4513d5aa9a91b20510ed15c8] | committer: Jean-Baptiste Kempf

avcodec: map Beam Software VB

Sample:
http://fate-suite.libav.org/SIFF/INTRO_B.VB

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dc0023d765a88d0b4513d5aa9a91b20510ed15c8
---

 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[] = {



More information about the vlc-commits mailing list