Skip to content

Commit

Permalink
MMVII: Exif: Make compatible with older version of GDAL lib (part 2...)
Browse files Browse the repository at this point in the history
  • Loading branch information
meynardc committed Dec 13, 2024
1 parent d2825c3 commit ee74847
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions MMVII/src/ImagesBase/cExifData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,12 @@ std::vector<std::string> cExifData::StringListFromFile(const std::string &aName,
auto aMetadataList = GetExifMetadataRaw(aName,SVP);

std::vector<std::string> anExifList;
for (const auto& aMetadata: aMetadataList)
for (int i=0; i<aMetadataList.Count(); i++)
{
if (UCaseBegin("EXIF_",aMetadata))
const auto& aMetaData = aMetadataList[i];
if (UCaseBegin("EXIF_",aMetaData))
{
anExifList.push_back(aMetadata);
anExifList.push_back(aMetaData);
}
}
return anExifList;
Expand Down

0 comments on commit ee74847

Please sign in to comment.