[FFmpeg-devel] [PATCH] Add FourCC SP54
Eli Friedman
eli.friedman
Mon Feb 2 06:51:28 CET 2009
Stub about the codec: http://wiki.multimedia.cx/index.php?title=Sunplus_JPEG
MPlayer docs list a bunch of other FourCCs, but there are only samples
for SP54, and none of the others show up in the "Popular codecs on the
web not supported by FFmpeg" thread, so it's likely the other FourCCs
aren't actually used. Adding them would be trivial, though.
Since FFmpeg already supports the codec, the patch is trivial. The
samples appear to decode correctly.
-Eli
-------------- next part --------------
Index: libavformat/riff.c
===================================================================
--- libavformat/riff.c (revision 16932)
+++ libavformat/riff.c (working copy)
@@ -199,6 +199,7 @@
{ CODEC_ID_RPZA, MKTAG('a', 'z', 'p', 'r') },
{ CODEC_ID_RPZA, MKTAG('R', 'P', 'Z', 'A') },
{ CODEC_ID_RPZA, MKTAG('r', 'p', 'z', 'a') },
+ { CODEC_ID_SP5X, MKTAG('S', 'P', '5', '4') },
{ CODEC_ID_NONE, 0 }
};
More information about the ffmpeg-devel
mailing list