diff --git a/Changelog b/Changelog index 962d259251..e5a5fd9f2b 100644 --- a/Changelog +++ b/Changelog @@ -29,7 +29,7 @@ version - 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') },