X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Futil.h;h=d3e6a67de9e1fd053783c65afd8effaef22ef001;hb=8aeb741ccbe2edb528e98a431bf55459a6836a9b;hp=892b473f739a21de88827d8aecd94682b3f2fe24;hpb=ad10aea1d685e67e0e639f6303fc9c8f8f1f945c;p=dcpomatic.git diff --git a/src/lib/util.h b/src/lib/util.h index 892b473f7..d3e6a67de 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -126,6 +126,7 @@ extern float get_required_float (std::multimap const & extern std::string get_required_string (std::multimap const & kv, std::string k); extern int get_optional_int (std::multimap const & kv, std::string k); extern std::string get_optional_string (std::multimap const & kv, std::string k); +extern void* wrapped_av_malloc (size_t); /** @class Socket * @brief A class to wrap a boost::asio::ip::tcp::socket with some things @@ -166,7 +167,7 @@ private: int _timeout; }; -extern int64_t video_frames_to_audio_frames (VideoContent::Frame v, float audio_sample_rate, float frames_per_second); +extern int64_t video_frames_to_audio_frames (VideoFrame v, float audio_sample_rate, float frames_per_second); class LocaleGuard {