Added
Link Here
|
0 |
- |
1 |
--- src/core/exif.cpp.orig 2022-10-17 19:40:50 UTC |
|
|
2 |
+++ src/core/exif.cpp |
3 |
@@ -108,7 +108,7 @@ int siril_get_thumbnail_exiv(const char *path, uint8_t |
4 |
//std::cerr << "[exiv2] "<< path << ": found thumbnail "<< preview.width() << "x" << preview.height() << std::endl; |
5 |
memcpy(*buffer, tmp, _size); |
6 |
return 0; |
7 |
- } catch (Exiv2::AnyError &e) { |
8 |
+ } catch (Exiv2::Error &e) { |
9 |
std::string s(e.what()); |
10 |
std::cerr << "[exiv2]: " << s << std::endl; |
11 |
return 1; |