Bug #533 » change_Photoshop_IRB_warning_to_debug.patch
trunk/src/jpgimage.cpp (Arbeitskopie) | ||
---|---|---|
138 | 138 |
psSize += (psSize & 1); |
139 | 139 |
position += psSize; |
140 | 140 |
if (position + 4 > sizePsData) { |
141 |
#ifndef SUPPRESS_WARNINGS
|
|
141 |
#ifdef DEBUG
|
|
142 | 142 |
std::cerr << "Warning: " |
143 | 143 |
<< "Invalid or extended Photoshop IRB\n"; |
144 | 144 |
#endif |
... | ... | |
177 | 177 |
std::cerr << "pPsData doesn't start with '8BIM'\n"; |
178 | 178 |
#endif |
179 | 179 |
if (position < sizePsData) { |
180 |
#ifndef SUPPRESS_WARNINGS
|
|
180 |
#ifdef DEBUG
|
|
181 | 181 |
std::cerr << "Warning: " |
182 | 182 |
<< "Invalid or extended Photoshop IRB\n"; |
183 | 183 |
#endif |
- « Previous
- 1
- 2
- 3
- 4
- Next »