Write preferred padding also when making Ogg files
This commit is contained in:
parent
fcc6dee569
commit
494416f086
|
@ -402,6 +402,9 @@ void OggContainer::makeVorbisCommentSegment(stringstream &buffer, CopyHelper<653
|
|||
}
|
||||
default:;
|
||||
}
|
||||
for (auto padding = fileInfo().preferredPadding(); padding; --padding) {
|
||||
buffer.put(0);
|
||||
}
|
||||
newSegmentSizes.push_back(static_cast<std::uint32_t>(buffer.tellp() - offset));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue