[FFmpeg-cvslog] Detect jps and pns files as (3D) jpg and png images.
Martin Lambers
git at videolan.org
Mon Jan 30 11:37:41 CET 2012
ffmpeg | branch: master | Martin Lambers <marlam at marlam.de> | Mon Jan 30 11:28:08 2012 +0100| [6fe12c7ff2094c68a8b6e9aeea7744ca15594091] | committer: Carl Eugen Hoyos
Detect jps and pns files as (3D) jpg and png images.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6fe12c7ff2094c68a8b6e9aeea7744ca15594091
---
libavformat/img2.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavformat/img2.c b/libavformat/img2.c
index 18b9cde..622d759 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -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"},
More information about the ffmpeg-cvslog
mailing list