Looking in src/exif.cpp at the fixes for the thumbnail problem in
0.10-1.4, I decided to compare the version in exiv2-0.10-1.5 with
exiv2-0.16 from exiv2.org and found a small discrepancy.
In exiv2-0.10-1.5:
// Finally, read the thumbnail
rc = readThumbnail();
if (0 < rc) {
#ifndef SUPPRESS_WARNINGS
std::cerr << "Warning: Failed to read thumbnail, rc = "
<< rc << "\n";
#endif
}
return rc;
} // ExifData::load
In exiv2-0.16:
// Finally, read the thumbnail
rc = readThumbnail();
if (0 < rc) {
#ifndef SUPPRESS_WARNINGS
std::cerr << "Warning: Failed to read thumbnail, rc = "
<< rc << "\n";
#endif
}
return 0;
} // ExifData::load
I changed that "return rc" to "return 0", compiled, and replaced
/usr/lib/libexiv2-0.10.so with the newly compiled version. (I used
checkinstall instead of "make install", extracted the files from the
resulting deb, then copied libexiv2-0.10.so to
/usr/lib/libexiv2-0.10.so.) Since doing that, I'm no longer getting
errors with certain jpegs.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]