Commit a8a80ee6 authored by Max Kellermann's avatar Max Kellermann

lib/ffmpeg/Buffer: disallow copying

parent f9bdb4b0
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment