[vlc-commits] avcodec: map BFI video

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


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

avcodec: map BFI video

Sample:
http://fate-suite.libav.org/bfi/2287.bfi

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

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

 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 81c77f3..a47a7e1 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -161,6 +161,7 @@
 #define VLC_CODEC_BETHSOFTVID     VLC_FOURCC('B','V','I','D')
 #define VLC_CODEC_VB              VLC_FOURCC('V','B','V','1')
 #define VLC_CODEC_RL2             VLC_FOURCC('R','L','V','2')
+#define VLC_CODEC_BFI             VLC_FOURCC('B','F','&','I')
 
 /* 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 1c970ff..cddc9a1 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -171,7 +171,7 @@ static const struct
     { VLC_CODEC_RL2, AV_CODEC_ID_RL2, VIDEO_ES },
     { VLC_CODEC_ESCAPE124, AV_CODEC_ID_ESCAPE124, VIDEO_ES },
     { VLC_CODEC_DIRAC, AV_CODEC_ID_DIRAC, VIDEO_ES },
-    /* AV_CODEC_ID_BFI */
+    { VLC_CODEC_BFI, AV_CODEC_ID_BFI, VIDEO_ES },
     /* AV_CODEC_ID_CMV */
     /* AV_CODEC_ID_MOTIONPIXELS */
     /* AV_CODEC_ID_TGV */
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 39c0fae..3d0e8e7 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1081,6 +1081,8 @@ static const staticentry_t p_list_video[] = {
 
     B(VLC_CODEC_RL2, "RL2 video"),
 
+    B(VLC_CODEC_BFI, "Brute Force & Ignorance (BFI) video"),
+
     B(0, "")
 };
 static const staticentry_t p_list_audio[] = {



More information about the vlc-commits mailing list