[vlc-devel] PPM image support

Johann Ransay johann.ransay at planar.com
Tue Dec 8 11:49:51 CET 2009

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://


 src/misc/image.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/misc/image.c b/src/misc/image.c
index cc11c30..62a50e0 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -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 }

This e-mail, and any attachments, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information belonging to Planar Systems, Inc.  If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, any attachments thereto, and use of the information contained, is strictly prohibited.  If you have received this e-mail in error, please notify the sender and permanently delete the original and any copy thereof.

More information about the vlc-devel mailing list