From: DRC Date: Tue, 27 Jun 2017 16:51:34 +0000 (-0500) Subject: Merge branch 'master' into dev X-Git-Tag: 1.5.90~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=596e3965e7d4543597203b28f6b0f4897bf96cc3;p=libjpeg-turbo Merge branch 'master' into dev --- 596e3965e7d4543597203b28f6b0f4897bf96cc3 diff --cc doc/html/group___turbo_j_p_e_g.html index 49c54ca,9363117..f5f6399 --- a/doc/html/group___turbo_j_p_e_g.html +++ b/doc/html/group___turbo_j_p_e_g.html @@@ -483,23 -455,8 +483,23 @@@ Variables

Disable buffer (re)allocation.

-

If passed to tjCompress2() or tjTransform(), this flag will cause those functions to generate an error if the JPEG image buffer is invalid or too small rather than attempting to allocate or reallocate that buffer. This reproduces the behavior of earlier versions of TurboJPEG.

+

If passed to one of the JPEG compression or transform functions, this flag will cause those functions to generate an error if the JPEG image buffer is invalid or too small rather than attempting to allocate or reallocate that buffer. This reproduces the behavior of earlier versions of TurboJPEG.

+
+ + +
+
+ + + + +
#define TJFLAG_STOPONWARNING
+
+ +

Immediately discontinue the current compression/decompression/transform operation if the underlying codec throws a warning (non-fatal error).

+

The default behavior is to allow the operation to complete unless a fatal error is encountered.

+