]> granicus.if.org Git - libjpeg-turbo/commit
If a warning (such as "Premature end of JPEG file") is triggered in the underlying...
authorDRC <dcommander@users.sourceforge.net>
Mon, 1 Jun 2015 19:22:41 +0000 (19:22 +0000)
committerDRC <dcommander@users.sourceforge.net>
Mon, 1 Jun 2015 19:22:41 +0000 (19:22 +0000)
commit1f79c7c8c8c5e993042ea816e1dd161fb69061a3
tree805d81fdfded77b1af9b1f3f8c4598a976d0a60f
parentbec45b162bb77a57c147a9c44113af1968a79be4
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
ChangeLog.txt
turbojpeg.c