* Add a flag to tell ParseNameValue() to store empty XML elements.
This commit is contained in:
@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user