Commit 2e983244 authored by Max Kellermann's avatar Max Kellermann

lib/ffmpeg/Buffer: add "malloc" attribute

parent 6e2d7445
......@@ -51,6 +51,7 @@ public:
av_free(data);
}
gcc_malloc
void *Get(size_t min_size) {
#ifdef HAVE_AV_FAST_MALLOC
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