From ef58e35ddb4be43cc6227310f895aa519e794753 Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Thu, 3 Oct 2024 18:46:30 +0200 Subject: [PATCH] (remove 'struct' forward declaration) --- libheif/codecs/avc.h | 3 ++- libheif/codecs/jpeg.h | 2 +- libheif/codecs/vvc.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libheif/codecs/avc.h b/libheif/codecs/avc.h index 00640f8d6f..f226719f34 100644 --- a/libheif/codecs/avc.h +++ b/libheif/codecs/avc.h @@ -29,6 +29,7 @@ #include #include "codecs/image_item.h" + class Box_avcC : public Box { public: Box_avcC() { set_short_type(fourcc("avcC")); } @@ -108,7 +109,7 @@ class ImageItem_AVC : public ImageItem Error on_load_file() override; protected: - std::shared_ptr get_decoder() const override; + std::shared_ptr get_decoder() const override; public: Result encode(const std::shared_ptr& image, diff --git a/libheif/codecs/jpeg.h b/libheif/codecs/jpeg.h index c6fed0256b..e1561d14e7 100644 --- a/libheif/codecs/jpeg.h +++ b/libheif/codecs/jpeg.h @@ -76,7 +76,7 @@ class ImageItem_JPEG : public ImageItem enum heif_image_input_class input_class) override; protected: - std::shared_ptr get_decoder() const override; + std::shared_ptr get_decoder() const override; Result> read_bitstream_configuration_data(heif_item_id itemId) const override; diff --git a/libheif/codecs/vvc.h b/libheif/codecs/vvc.h index 8866a5b24b..1ccf4e76aa 100644 --- a/libheif/codecs/vvc.h +++ b/libheif/codecs/vvc.h @@ -128,7 +128,7 @@ class ImageItem_VVC : public ImageItem Error on_load_file() override; protected: - std::shared_ptr get_decoder() const override; + std::shared_ptr get_decoder() const override; Result> read_bitstream_configuration_data(heif_item_id itemId) const override;