From 884f678cfdc40561d780df708e2c7b58452d2e1e Mon Sep 17 00:00:00 2001 From: ami_stuff Date: Mon, 2 May 2011 01:45:05 +0200 Subject: [PATCH] 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 --- libavformat/img2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/img2.c b/libavformat/img2.c index 0de2f8b9ed..58b0780a3a 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"},