]> git.sesse.net Git - vlc/commitdiff
PPM image support
authorJohann Ransay <johann.ransay@planar.com>
Tue, 8 Dec 2009 10:49:51 +0000 (11:49 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 12 Dec 2009 21:56:09 +0000 (23:56 +0200)
PPM image format is already supported in FFMPEG. It would be possible to
support it in vlc too with the following patch.
The targetted usage of this change is to be able to do:
vlc --fake-file image.ppm fake://

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
src/misc/image.c

index cc11c30e9d31688d4cbf325332057ca6e352a23e..62a50e0ff760074508cf45331a36265ea0976c7d 100644 (file)
@@ -541,6 +541,7 @@ static const struct
     { VLC_CODEC_TIFF,              "tif" },
     { VLC_CODEC_TIFF,              "tiff" },
     { VLC_FOURCC('l','b','m',' '), "lbm" },
+    { VLC_FOURCC('p','p','m',' '), "ppm" },
     { 0, NULL }
 };