diff src/exiv2.cc @ 1716:cb905f42ac0b

Fixing libexiv2 bug
author mow
date Mon, 03 Aug 2009 12:34:57 +0000
parents df4e69170f2b
children f6ba63c3bb04
line wrap: on
line diff
--- a/src/exiv2.cc	Sat Aug 01 22:37:57 2009 +0000
+++ b/src/exiv2.cc	Mon Aug 03 12:34:57 2009 +0000
@@ -303,7 +303,14 @@
 		exifData_ = imageData_->exifData();
 		iptcData_ = imageData_->iptcData();
 #if EXIV2_TEST_VERSION(0,17,0)
-		syncExifWithXmp(exifData_, xmpData_);
+		try
+			{
+			syncExifWithXmp(exifData_, xmpData_);
+			}
+		catch (...)
+			{
+			DEBUG_1("Exiv2: Catching bug\n");
+			}
 #endif
 		if (modified_xmp)
 			{