* Add a flag to tell ParseNameValue() to store empty XML elements.

This commit is contained in:
Justin Maggard
2012-07-10 21:12:10 +00:00
parent 074055aa4d
commit f0c7768533
8 changed files with 24 additions and 16 deletions

View File

@ -372,7 +372,7 @@ image_get_jpeg_date_xmp(const char * path, char ** date)
if( nread < 1 )
break;
ParseNameValue(data, offset, &xml);
ParseNameValue(data, offset, &xml, 0);
exif = GetValueFromNameValueList(&xml, "DateTimeOriginal");
if( !exif )
{