changeset 1716:cb905f42ac0b

Fixing libexiv2 bug
author mow
date Mon, 03 Aug 2009 12:34:57 +0000
parents f1e316c4cc4d
children 06fa126afada
files src/exiv2.cc
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
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)
 			{