[vlc-devel] commit: PPM image support (Johann Ransay )
    git version control 
    git at videolan.org
       
    Sat Dec 12 22:57:33 CET 2009
    
    
  
vlc | branch: master | Johann Ransay <johann.ransay at planar.com> | Tue Dec  8 11:49:51 2009 +0100| [03edfd021de2077e725eadfa8f8f2339b5aa62b4] | committer: Rémi Denis-Courmont 
PPM image support
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 at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03edfd021de2077e725eadfa8f8f2339b5aa62b4
---
 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 }
 };
 
    
    
More information about the vlc-devel
mailing list