changeset 1690:7f9a99258d13

Fixing libexiv2 bug
author mow
date Mon, 03 Aug 2009 12:34:57 +0000
parents 2ec2f6827127
children db9a5d850c03
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)
 			{