Make offset=0 the default parameter.
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user