diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-05-27 13:43:43 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-05-27 17:19:20 +0200 |
commit | 15f2f58836b8efc1c9f1f9953d0737b826619d7c (patch) | |
tree | 476d41305b9078c0b93b0dab8ad6e14c4253034b /package/jasper/0003-Added-a-check-in-the-JP2-encoder-to-ensure-that-the-.patch | |
parent | 050b52515ba9b2c04cc14d648835e9385a55654f (diff) | |
download | buildroot-15f2f58836b8efc1c9f1f9953d0737b826619d7c.tar.gz buildroot-15f2f58836b8efc1c9f1f9953d0737b826619d7c.zip |
package/jasper: bump version to 2.0.13
Changed _SITE to github, current version is not available from upstream
website.
Removed patches applied upstream:
0002-Fixed-bugs-due-to-uninitialized-data-in-the-JP2-deco.patch
https://github.com/mdadams/jasper/commit/e96fc4fdd525fa0ede28074a7e2b1caf94b58b0d
0003-Added-a-check-in-the-JP2-encoder-to-ensure-that-the-.patch
https://github.com/mdadams/jasper/commit/58ba0365d911b9f9dd68e9abf826682c0b4f2293
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/jasper/0003-Added-a-check-in-the-JP2-encoder-to-ensure-that-the-.patch')
-rw-r--r-- | package/jasper/0003-Added-a-check-in-the-JP2-encoder-to-ensure-that-the-.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/package/jasper/0003-Added-a-check-in-the-JP2-encoder-to-ensure-that-the-.patch b/package/jasper/0003-Added-a-check-in-the-JP2-encoder-to-ensure-that-the-.patch deleted file mode 100644 index 16a3e75bf1..0000000000 --- a/package/jasper/0003-Added-a-check-in-the-JP2-encoder-to-ensure-that-the-.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 58ba0365d911b9f9dd68e9abf826682c0b4f2293 Mon Sep 17 00:00:00 2001 -From: Michael Adams <mdadams@ece.uvic.ca> -Date: Mon, 6 Mar 2017 08:06:54 -0800 -Subject: [PATCH] Added a check in the JP2 encoder to ensure that the image to - be coded has at least one component. - -Signed-off-by: Peter Korsgaard <peter@korsgaard.com> ---- - src/libjasper/jp2/jp2_enc.c | 5 +++++ - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/src/libjasper/jp2/jp2_enc.c b/src/libjasper/jp2/jp2_enc.c -index 9a5e106..af4d9a4 100644 ---- a/src/libjasper/jp2/jp2_enc.c -+++ b/src/libjasper/jp2/jp2_enc.c -@@ -115,6 +115,11 @@ int jp2_encode(jas_image_t *image, jas_stream_t *out, const char *optstr) - iccstream = 0; - iccprof = 0; - -+ if (jas_image_numcmpts(image) < 1) { -+ jas_eprintf("image must have at least one component\n"); -+ goto error; -+ } -+ - allcmptssame = 1; - sgnd = jas_image_cmptsgnd(image, 0); - prec = jas_image_cmptprec(image, 0); --- -2.11.0 - |