summaryrefslogtreecommitdiff
path: root/libavformat/img2.c
diff options
context:
space:
mode:
authorami_stuff <ami_stuff@o2.pl>2011-05-02 01:45:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-02 18:38:16 +0200
commit884f678cfdc40561d780df708e2c7b58452d2e1e (patch)
tree31e1faf53d2b9014bcf16fd6644e94f399cadde2 /libavformat/img2.c
parentcf16104ad13f6c558ea386e5fa55a67e2b378f5e (diff)
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@gmx.at>
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r--libavformat/img2.c1
1 files changed, 1 insertions, 0 deletions
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"},