commit | 1f79c7c8c8c5e993042ea816e1dd161fb69061a3 | [log] [tgz] |
---|---|---|
author | DRC <dcommander@users.sourceforge.net> | Mon Jun 01 19:22:41 2015 +0000 |
committer | DRC <dcommander@users.sourceforge.net> | Mon Jun 01 19:22:41 2015 +0000 |
tree | 805d81fdfded77b1af9b1f3f8c4598a976d0a60f | |
parent | bec45b162bb77a57c147a9c44113af1968a79be4 [diff] |
If a warning (such as "Premature end of JPEG file") is triggered in the underlying libjpeg API, make sure that the TurboJPEG API function returns -1. Unlike errors, however, libjpeg warnings do not make the TurboJPEG functions abort. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1561 632fc199-4ca6-4c93-a231-07263d6284db