Detect jps and pns files as (3D) jpg and png images.

This commit is contained in:
Martin Lambers 2012-01-30 11:28:08 +01:00 committed by Carl Eugen Hoyos
parent 36436a4032
commit 6fe12c7ff2

View File

@ -54,9 +54,11 @@ typedef struct {
static const IdStrMap img_tags[] = {
{ CODEC_ID_MJPEG , "jpeg"},
{ CODEC_ID_MJPEG , "jpg"},
{ CODEC_ID_MJPEG , "jps"},
{ CODEC_ID_LJPEG , "ljpg"},
{ CODEC_ID_JPEGLS , "jls"},
{ CODEC_ID_PNG , "png"},
{ CODEC_ID_PNG , "pns"},
{ CODEC_ID_PNG , "mng"},
{ CODEC_ID_PPM , "ppm"},
{ CODEC_ID_PPM , "pnm"},