From 7afe23808a2ce782f834ec39f0738e7f7bcf5bd5 Mon Sep 17 00:00:00 2001 From: Compn Date: Thu, 29 Sep 2011 17:14:08 -0400 Subject: [PATCH] add LJ2K and LJ2C to jpeg2000 decoder works on http://web.archive.org/web/20070128115405/http://www.leadcodecs.com/Download/MJ2K/WhatBox_MJ2k_720x480_PerfectQuality2.avi --- libavformat/riff.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index d2c6ac93c0..5c489d7b01 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -258,6 +258,8 @@ const AVCodecTag ff_codec_bmp_tags[] = { { CODEC_ID_CAVS, MKTAG('C', 'A', 'V', 'S') }, { CODEC_ID_JPEG2000, MKTAG('m', 'j', 'p', '2') }, { CODEC_ID_JPEG2000, MKTAG('M', 'J', '2', 'C') }, + { CODEC_ID_JPEG2000, MKTAG('L', 'J', '2', 'C') }, + { CODEC_ID_JPEG2000, MKTAG('L', 'J', '2', 'K') }, { CODEC_ID_VMNC, MKTAG('V', 'M', 'n', 'c') }, { CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') }, { CODEC_ID_PNG, MKTAG('M', 'P', 'N', 'G') },