[vlc-commits] avcodec: map DeluxePaint animation

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:21 2014 -0700| [679fa3a05c2274f8de1531aa17753f6b4e77c42a] | committer: Jean-Baptiste Kempf

avcodec: map DeluxePaint animation

Sample:
http://fate-suite.libav.org/deluxepaint-anm/INTRO1.ANM

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

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

 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 cc23bbd0..58bbdad 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -168,6 +168,7 @@
 #define VLC_CODEC_TGQ             VLC_FOURCC('T','G','Q','V')
 #define VLC_CODEC_TQI             VLC_FOURCC('T','Q','I','V')
 #define VLC_CODEC_MAD             VLC_FOURCC('M','A','D','V')
+#define VLC_CODEC_ANM             VLC_FOURCC('A','N','I','M')
 
 /* 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 a559eed..ab285b6 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -188,7 +188,7 @@ static const struct
     { VLC_CODEC_FLASHSV2, AV_CODEC_ID_FLASHSV2, VIDEO_ES },
     /* AV_CODEC_ID_CDGRAPHICS */
     /* AV_CODEC_ID_R210 */
-    /* AV_CODEC_ID_ANM */
+    { VLC_CODEC_ANM, AV_CODEC_ID_ANM, VIDEO_ES },
     { VLC_CODEC_BINKVIDEO, AV_CODEC_ID_BINKVIDEO, VIDEO_ES },
     /* AV_CODEC_ID_IFF_ILBM */
     /* AV_CODEC_ID_IFF_BYTERUN1 */
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index cba9422..1527fd2 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1095,6 +1095,8 @@ static const staticentry_t p_list_video[] = {
 
     B(VLC_CODEC_MAD, "Electronic Arts MAD"),
 
+    B(VLC_CODEC_ANM, "DeluxePaint animation"),
+
     B(0, "")
 };
 static const staticentry_t p_list_audio[] = {



More information about the vlc-commits mailing list