[vlc-commits] avcodec: map Bitmap Brothers JV

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


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

avcodec: map Bitmap Brothers JV

Sample:
http://samples.ffmpeg.org/game-formats/jv/E_INTRO.JV

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

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

 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 ee88096..3e1f417 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -170,6 +170,7 @@
 #define VLC_CODEC_MAD             VLC_FOURCC('M','A','D','V')
 #define VLC_CODEC_ANM             VLC_FOURCC('A','N','I','M')
 #define VLC_CODEC_YOP             VLC_FOURCC('Y','O','P','V')
+#define VLC_CODEC_JV              VLC_FOURCC('J','V','0','0')
 
 /* 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 6c167b6..ba9e558 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -203,7 +203,7 @@ static const struct
     { VLC_CODEC_MXPEG, AV_CODEC_ID_MXPEG, VIDEO_ES },
     { VLC_CODEC_LAGARITH, AV_CODEC_ID_LAGARITH, VIDEO_ES },
     { VLC_CODEC_PRORES, AV_CODEC_ID_PRORES, VIDEO_ES },
-    /* AV_CODEC_ID_JV */
+    { VLC_CODEC_JV, AV_CODEC_ID_JV, VIDEO_ES },
     /* AV_CODEC_ID_DFA */
     { VLC_CODEC_WMVP, AV_CODEC_ID_WMV3IMAGE, VIDEO_ES },
     { VLC_CODEC_WMVP2, AV_CODEC_ID_VC1IMAGE, VIDEO_ES },
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index d08d5ce..5ccd054 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1099,6 +1099,8 @@ static const staticentry_t p_list_video[] = {
 
     B(VLC_CODEC_YOP, "Psygnosis YOP"),
 
+    B(VLC_CODEC_JV, "Bitmap Brothers JV"),
+
     B(0, "")
 };
 static const staticentry_t p_list_audio[] = {



More information about the vlc-commits mailing list