diff --git a/src/lib/ffmpeg/Buffer.hxx b/src/lib/ffmpeg/Buffer.hxx index 330f5ed11..521f40d2e 100644 --- a/src/lib/ffmpeg/Buffer.hxx +++ b/src/lib/ffmpeg/Buffer.hxx @@ -37,6 +37,9 @@ public: av_free(data); } + FfmpegBuffer(const FfmpegBuffer &) = delete; + FfmpegBuffer &operator=(const FfmpegBuffer &) = delete; + gcc_malloc void *Get(size_t min_size) noexcept { av_fast_malloc(&data, &size, min_size);