Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinbackhouse committed Oct 8, 2022
1 parent 459910c commit 597e372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quicktimevideo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ static std::string readString(BasicIo& io, size_t size) {
enforce(size <= io.size() - io.tell(), Exiv2::ErrorCode::kerCorruptedMetadata);
Exiv2::DataBuf str(size + 1);
io.readOrThrow(str.data(), size);
str.write_uint8(size, 0); // nul-terminate string
str.write_uint8(size, 0); // nul-terminate string
return Exiv2::toString(str.data());
}

Expand Down

0 comments on commit 597e372

Please sign in to comment.