diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-04-29 14:58:38 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-04-29 14:58:38 (GMT) |
commit | f0c1f06b75427d6bc68a95ec5de747b10da1e09f (patch) | |
tree | ca4356b943ece300a23005898de842674457b04b /abs/core/libjpeg-turbo/overrun.patch | |
parent | 415889576cfd85f52b9d3c5aa7f47c31225dc1b8 (diff) | |
download | linhes_pkgbuild-f0c1f06b75427d6bc68a95ec5de747b10da1e09f.zip linhes_pkgbuild-f0c1f06b75427d6bc68a95ec5de747b10da1e09f.tar.gz linhes_pkgbuild-f0c1f06b75427d6bc68a95ec5de747b10da1e09f.tar.bz2 |
libjpeg-turbo: update to 1.4.2
Diffstat (limited to 'abs/core/libjpeg-turbo/overrun.patch')
-rw-r--r-- | abs/core/libjpeg-turbo/overrun.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/abs/core/libjpeg-turbo/overrun.patch b/abs/core/libjpeg-turbo/overrun.patch deleted file mode 100644 index 92f48c3..0000000 --- a/abs/core/libjpeg-turbo/overrun.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Naur old/jchuff.c new/jchuff.c ---- old/jchuff.c 2014-11-27 06:48:21.009442853 -1000 -+++ new/jchuff.c 2014-11-27 06:48:46.289700004 -1000 -@@ -391,7 +391,16 @@ - #endif - - --#define BUFSIZE (DCTSIZE2 * 2) -+/* Although it is exceedingly rare, it is possible for a Huffman-encoded -+ * coefficient block to be larger than the 128-byte unencoded block. For each -+ * of the 64 coefficients, PUT_BITS is invoked twice, and each invocation can -+ * theoretically store 16 bits (for a maximum of 2048 bits or 256 bytes per -+ * encoded block.) If, for instance, one artificially sets the AC -+ * coefficients to alternating values of 32767 and -32768 (using the JPEG -+ * scanning order-- 1, 8, 16, etc.), then this will produce an encoded block -+ * larger than 200 bytes. -+ */ -+#define BUFSIZE (DCTSIZE2 * 4) - - #define LOAD_BUFFER() { \ - if (state->free_in_buffer < BUFSIZE) { \ |