aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-07-05 23:48:22 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-07-05 23:48:22 +0200
commit420ba222c6150fda8c8d362932dbd29eb485bb17 (patch)
treebb66a06f7349f4f4f63b0ecc9544f2a62b315318
parent645489cf90b09a3bd1ed57b2c13b37b1512450bb (diff)
downloadffmpeg-420ba222c6150fda8c8d362932dbd29eb485bb17.tar.gz
lavc/mjpeg_parser: Allow jpegls parsing.
Fixes ticket #5691.
-rw-r--r--libavcodec/mjpeg_parser.c2
-rw-r--r--libavcodec/version.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mjpeg_parser.c b/libavcodec/mjpeg_parser.c
index e548b00f40..07a6b2bdc6 100644
--- a/libavcodec/mjpeg_parser.c
+++ b/libavcodec/mjpeg_parser.c
@@ -127,7 +127,7 @@ static int jpeg_parse(AVCodecParserContext *s,
AVCodecParser ff_mjpeg_parser = {
- .codec_ids = { AV_CODEC_ID_MJPEG },
+ .codec_ids = { AV_CODEC_ID_MJPEG, AV_CODEC_ID_JPEGLS },
.priv_data_size = sizeof(MJPEGParserContext),
.parser_parse = jpeg_parse,
.parser_close = ff_parse_close,
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 4f6423b15e..5e047548b3 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -29,7 +29,7 @@
#define LIBAVCODEC_VERSION_MAJOR 57
#define LIBAVCODEC_VERSION_MINOR 48
-#define LIBAVCODEC_VERSION_MICRO 101
+#define LIBAVCODEC_VERSION_MICRO 102
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \