summaryrefslogtreecommitdiff
path: root/libavformat/img2.c
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2012-01-22 00:11:42 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-03-16 23:31:29 +0100
commit6d78e852fbf3cab438a2085bcb64b90457c4a851 (patch)
tree4f6e358e90a51cfa93328240e819af5b0ba2873c /libavformat/img2.c
parent58c215961a9067bb670387bbd72286c30de04b93 (diff)
downloadffmpeg-6d78e852fbf3cab438a2085bcb64b90457c4a851.tar.gz
img2: add j2c file extension
Some applications use the j2c extension for jpeg2000 codestream files.
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 493df6d77e..ed592815a5 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -63,6 +63,7 @@ static const IdStrMap img_tags[] = {
{ AV_CODEC_ID_SUNRAST, "im8" },
{ AV_CODEC_ID_SUNRAST, "im24" },
{ AV_CODEC_ID_SUNRAST, "sunras" },
+ { AV_CODEC_ID_JPEG2000, "j2c" },
{ AV_CODEC_ID_JPEG2000, "jp2" },
{ AV_CODEC_ID_JPEG2000, "jpc" },
{ AV_CODEC_ID_JPEG2000, "j2k" },