[FFmpeg-devel] [PATCH]Allow pnm files

Carl Eugen Hoyos cehoyos
Thu Dec 4 02:06:54 CET 2008


Hi!

I've heard rumours there are ppm files in the wild having pnm suffix.

Please comment, Carl Eugen
-------------- next part --------------
Index: libavformat/img2.c
===================================================================
--- libavformat/img2.c	(Revision 15995)
+++ libavformat/img2.c	(Arbeitskopie)
@@ -45,6 +45,7 @@
     { CODEC_ID_PNG       , "png"},
     { CODEC_ID_PNG       , "mng"},
     { CODEC_ID_PPM       , "ppm"},
+    { CODEC_ID_PPM       , "pnm"},
     { CODEC_ID_PGM       , "pgm"},
     { CODEC_ID_PGMYUV    , "pgmyuv"},
     { CODEC_ID_PBM       , "pbm"},



More information about the ffmpeg-devel mailing list