summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2006-03-01 07:42:55 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2006-03-01 07:42:55 +0000
commit26d6d032702c55616127511fa317b96763eb5cb3 (patch)
tree23a08c95e21f7467cf618d3530f9d7c42c25ae66
parent94d1d6c02db079c27c6a91a5a2772e6277380865 (diff)
Set 'MJLS' FOURCC for JPEG-LS in AVI and documentation fix. Patch by
kostya shishkov - gmail - com. Originally committed as revision 5082 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Changelog2
-rw-r--r--doc/ffmpeg-doc.texi1
-rw-r--r--libavformat/avienc.c2
3 files changed, 4 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 962d259251..e5a5fd9f2b 100644
--- a/Changelog
+++ b/Changelog
@@ -29,7 +29,7 @@ version <next>
- TrueSpeech audio decoder
- WMA2 audio decoder fixed, now all files should play correctly
- RealAudio 14.4 and 28.8 decoders fixed
-- JPEG-LS decoder
+- JPEG-LS encoder and decoder
- CamStudio video decoder
- build system improvements
- tabs and trailing whitespace removed from the codebase
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index 840423d82c..c50e9199dd 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -744,6 +744,7 @@ following image formats are supported:
@item RealVideo 2.0 @tab X @tab X
@item MJPEG @tab X @tab X
@item lossless MJPEG @tab X @tab X
+@item JPEG-LS @tab X @tab X @tab fourcc: MJLS, lossless and near-lossless is supported
@item Apple MJPEG-B @tab @tab X
@item Sunplus MJPEG @tab @tab X @tab fourcc: SP5X
@item DV @tab X @tab X
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 4d97ad79b8..0a6adb1b6c 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -149,6 +149,8 @@ const CodecTag codec_bmp_tags[] = {
{ CODEC_ID_MJPEG, MKTAG('L', 'J', 'P', 'G') },
{ CODEC_ID_LJPEG, MKTAG('L', 'J', 'P', 'G') },
{ CODEC_ID_MJPEG, MKTAG('J', 'P', 'G', 'L') }, /* Pegasus lossless JPEG */
+ { CODEC_ID_MJPEG, MKTAG('M', 'J', 'L', 'S') }, /* JPEG-LS custom FOURCC for avi - decoder */
+ { CODEC_ID_JPEGLS, MKTAG('M', 'J', 'L', 'S') }, /* JPEG-LS custom FOURCC for avi - encoder */
{ CODEC_ID_HUFFYUV, MKTAG('H', 'F', 'Y', 'U') },
{ CODEC_ID_FFVHUFF, MKTAG('F', 'F', 'V', 'H') },
{ CODEC_ID_CYUV, MKTAG('C', 'Y', 'U', 'V') },