X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_image_proxy.h;h=b567fadee0825e2c6506746c6d44739c999132ea;hb=7cb1677e10b9692698ede5741c50d8c4b4144ddf;hp=48317ed75c7ae16d3d3d61c30e729a9ec9c4976c;hpb=3799e91d126d243d41c44dcb0ca1bfa66b53a57e;p=dcpomatic.git diff --git a/src/lib/ffmpeg_image_proxy.h b/src/lib/ffmpeg_image_proxy.h index 48317ed75..b567fadee 100644 --- a/src/lib/ffmpeg_image_proxy.h +++ b/src/lib/ffmpeg_image_proxy.h @@ -19,7 +19,6 @@ */ #include "image_proxy.h" -#include "types.h" #include #include #include @@ -34,12 +33,12 @@ public: Result image ( Image::Alignment alignment, boost::optional size = boost::optional () - ) const; + ) const override; - void add_metadata (xmlpp::Node *) const; - void write_to_socket (std::shared_ptr) const; - bool same (std::shared_ptr other) const; - size_t memory_used () const; + void add_metadata (xmlpp::Node *) const override; + void write_to_socket (std::shared_ptr) const override; + bool same (std::shared_ptr other) const override; + size_t memory_used () const override; int avio_read (uint8_t* buffer, int const amount); int64_t avio_seek (int64_t const pos, int whence); @@ -51,6 +50,6 @@ private: failed-decode errors can give more detail. */ boost::optional _path; - mutable std::shared_ptr _image; + mutable std::shared_ptr _image; mutable boost::mutex _mutex; };