Make offset=0 the default parameter.

This commit is contained in:
Kevin Backhouse
2021-08-30 12:41:08 +01:00
parent aec6733df9
commit 9ff72e5ca5
36 changed files with 250 additions and 250 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ try {
}
Exiv2::DataBuf buf = Exiv2::readFile(argv[1]);
std::string xmpPacket;
xmpPacket.assign(buf.c_str(0), buf.size());
xmpPacket.assign(buf.c_str(), buf.size());
Exiv2::XmpData xmpData;
if (0 != Exiv2::XmpParser::decode(xmpData, xmpPacket)) {
std::string error(argv[1]);