commit | cce13c767e93eaed019a8d443dea21835499efcc | [log] [tgz] |
---|---|---|
author | DRC <dcommander@users.sourceforge.net> | Thu Aug 21 22:15:19 2014 +0000 |
committer | DRC <dcommander@users.sourceforge.net> | Thu Aug 21 22:15:19 2014 +0000 |
tree | 52401af11df89e493e53a67bac5214a0ecb6e2bb | |
parent | fe80ec22752cce224c55d7b429d46503634ef034 [diff] |
Subtle point, but dest->outbuffer is a pointer to the address of the JPEG buffer, which is stored in the calling program. Thus, *(dest->outbuffer) will always equal *outbuffer. We need to compare *outbuffer with dest->buffer instead to determine if the pointer is being reused. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1369 632fc199-4ca6-4c93-a231-07263d6284db