[FFmpeg-cvslog] Add *.j2k extension to JPEG2000 decoder

ami_stuff git at videolan.org
Mon May 2 18:48:50 CEST 2011


ffmpeg | branch: master | ami_stuff <ami_stuff at o2.pl> | Mon May  2 01:45:05 2011 +0200| [884f678cfdc40561d780df708e2c7b58452d2e1e] | committer: Michael Niedermayer

Add *.j2k extension to JPEG2000 decoder

Some files with *.j2k extension can be found for example here:

http://www.openjpeg.org/index.php?menu=samples

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=884f678cfdc40561d780df708e2c7b58452d2e1e
---

 libavformat/img2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/img2.c b/libavformat/img2.c
index 0de2f8b..58b0780 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -75,6 +75,7 @@ static const IdStrMap img_tags[] = {
     { CODEC_ID_SUNRAST   , "im8"},
     { CODEC_ID_SUNRAST   , "im24"},
     { CODEC_ID_SUNRAST   , "sunras"},
+    { CODEC_ID_JPEG2000  , "j2k"},
     { CODEC_ID_JPEG2000  , "jp2"},
     { CODEC_ID_DPX       , "dpx"},
     { CODEC_ID_PICTOR    , "pic"},



More information about the ffmpeg-cvslog mailing list