Skip to content

Commit

Permalink
(remove 'struct' forward declaration)
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 3, 2024
1 parent e029ffc commit ef58e35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion libheif/codecs/avc.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <memory>
#include "codecs/image_item.h"


class Box_avcC : public Box {
public:
Box_avcC() { set_short_type(fourcc("avcC")); }
Expand Down Expand Up @@ -108,7 +109,7 @@ class ImageItem_AVC : public ImageItem
Error on_load_file() override;

protected:
std::shared_ptr<struct Decoder> get_decoder() const override;
std::shared_ptr<Decoder> get_decoder() const override;

public:
Result<CodedImageData> encode(const std::shared_ptr<HeifPixelImage>& image,
Expand Down
2 changes: 1 addition & 1 deletion libheif/codecs/jpeg.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ImageItem_JPEG : public ImageItem
enum heif_image_input_class input_class) override;

protected:
std::shared_ptr<struct Decoder> get_decoder() const override;
std::shared_ptr<Decoder> get_decoder() const override;

Result<std::vector<uint8_t>> read_bitstream_configuration_data(heif_item_id itemId) const override;

Expand Down
2 changes: 1 addition & 1 deletion libheif/codecs/vvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class ImageItem_VVC : public ImageItem
Error on_load_file() override;

protected:
std::shared_ptr<struct Decoder> get_decoder() const override;
std::shared_ptr<Decoder> get_decoder() const override;

Result<std::vector<uint8_t>> read_bitstream_configuration_data(heif_item_id itemId) const override;

Expand Down

0 comments on commit ef58e35

Please sign in to comment.