avcodec: map Escape 124 video
authorDaniel Verkamp <daniel@drv.nu>
Sat, 11 Jan 2014 01:00:22 +0000 (18:00 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 11 Jan 2014 10:09:13 +0000 (11:09 +0100)
Sample:
http://samples.mplayerhq.hu/game-formats/rpl/escape124/ESCAPE.RPL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
include/vlc_fourcc.h
modules/codec/avcodec/fourcc.c
src/misc/fourcc.c

index 72ccd66..dd17fe7 100644 (file)
 #define VLC_CODEC_LCL_MSZH        VLC_FOURCC('M','S','Z','H')
 #define VLC_CODEC_LCL_ZLIB        VLC_FOURCC('Z','L','I','B')
 #define VLC_CODEC_THP             VLC_FOURCC('T','H','P','0')
+#define VLC_CODEC_ESCAPE124       VLC_FOURCC('E','1','2','4')
 
 /* Planar YUV 4:1:0 Y:V:U */
 #define VLC_CODEC_YV9             VLC_FOURCC('Y','V','U','9')
index 82f5914..63f1c2e 100644 (file)
@@ -168,7 +168,7 @@ static const struct
     { VLC_CODEC_INDEO5, AV_CODEC_ID_INDEO5, VIDEO_ES },
     { VLC_CODEC_MIMIC, AV_CODEC_ID_MIMIC, VIDEO_ES },
     /* AV_CODEC_ID_RL2 */
-    /* AV_CODEC_ID_ESCAPE124 */
+    { VLC_CODEC_ESCAPE124, AV_CODEC_ID_ESCAPE124, VIDEO_ES },
     { VLC_CODEC_DIRAC, AV_CODEC_ID_DIRAC, VIDEO_ES },
     /* AV_CODEC_ID_BFI */
     /* AV_CODEC_ID_CMV */
index 9bed057..9872100 100644 (file)
@@ -1012,6 +1012,8 @@ static const staticentry_t p_list_video[] = {
 
     B(VLC_CODEC_TXD, "RenderWare TXD"),
 
+    B(VLC_CODEC_ESCAPE124, "Escape 124 video"),
+
     B(0, "")
 };
 static const staticentry_t p_list_audio[] = {