From 270d3303ce18b2ef8d125839d6881ae62c2bd552 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 22 Mar 2024 16:30:31 -0400 Subject: [PATCH] LibGfx/ISOBMFF: FileTypeBox is not a FullBox --- Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.cpp | 2 +- Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.cpp b/Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.cpp index 56d3668af4a..117fc98d3e4 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.cpp @@ -88,7 +88,7 @@ ErrorOr 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); diff --git a/Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.h b/Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.h index a01fffcd14b..3b874f302d1 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.h +++ b/Userland/Libraries/LibGfx/ImageFormats/ISOBMFF/Boxes.h @@ -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 };