diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2015-08-29 18:32:11 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2015-08-29 18:32:11 +0200 |
| commit | 415fa18ad93493b7073a69cda3af27863537185b (patch) | |
| tree | e6b1d00bc42efc0f2268bdbe13e4bd9b566c6e57 /sample/src | |
| parent | b57363dbf58c275a7684281022db376ed412601b (diff) | |
| download | cataract-415fa18ad93493b7073a69cda3af27863537185b.tar.xz | |
jpeg-utils: Unify media libraries initialization
Both MagickWand and exiv2 needs some initialization and cleanup, move
it to jpeg-utils for clean includes in cgg.c.
Also add explicit exiv2 XMP initialization as stated on
http://dev.exiv2.org/projects/exiv2/wiki/Thread_safety:
"The XMP SDK initialization function is not mutex protected, thus
Exiv2::XmpParser::initialize is not thread-safe. Therefore, multi-threaded
applications need to ensure that this XMP function is serialized, e.g.,
by calling them from an initialization section which is run before any
threads are started."
See also https://bugs.kde.org/show_bug.cgi?id=166424
Diffstat (limited to 'sample/src')
0 files changed, 0 insertions, 0 deletions
