aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-12-04 15:08:04 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-12-04 15:08:04 +0000
commit485cfbe806e455f5918eef5134b6632461a7699b (patch)
treeca0dc98fa7e93182c07783f828c1e6484cdfc889
parent9e00c20e00f024f520a68ab6d1beb7bb351839f9 (diff)
downloadffmpeg-485cfbe806e455f5918eef5134b6632461a7699b.tar.gz
Recognize pnm file as images.
Originally committed as revision 16004 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/img2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c
index 962265e4c1..a3dcce741a 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -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"},