Recognize pnm file as images.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 4 Dec 2008 15:08:04 +0000 (15:08 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 4 Dec 2008 15:08:04 +0000 (15:08 +0000)
Originally committed as revision 16004 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/img2.c

index 962265e..a3dcce7 100644 (file)
@@ -45,6 +45,7 @@ static const IdStrMap img_tags[] = {
     { 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"},