LibGfx/ISOBMFF: FileTypeBox is not a FullBox

This commit is contained in:
Nico Weber 2024-03-22 16:30:31 -04:00 committed by Tim Schumacher
parent 1e31753382
commit 270d3303ce
Notes: sideshowbarker 2024-07-17 04:01:41 +09:00
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ ErrorOr<void> FileTypeBox::read_from_stream(BoxStream& stream)
void FileTypeBox::dump(String const& prepend) const
{
FullBox::dump(prepend);
Box::dump(prepend);
auto indented_prepend = add_indent(prepend);

View File

@ -85,7 +85,7 @@ private:
virtual void dump(String const& prepend = {}) const override;
// 4.3 File Type Box
struct FileTypeBox final : public FullBox {
struct FileTypeBox final : public Box {
BOX_SUBTYPE(FileTypeBox);
BrandIdentifier major_brand { BrandIdentifier::None };