Add *.j2k extension to JPEG2000 decoder
authorami_stuff <ami_stuff@o2.pl>
Sun, 1 May 2011 23:45:05 +0000 (01:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 2 May 2011 16:38:16 +0000 (18:38 +0200)
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@gmx.at>
libavformat/img2.c

index 0de2f8b..58b0780 100644 (file)
@@ -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"},