From 2e983244865ab1c004022034e74f61b8d8620543 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 22 Jun 2015 09:11:22 +0200 Subject: lib/ffmpeg/Buffer: add "malloc" attribute --- src/lib/ffmpeg/Buffer.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/ffmpeg') diff --git a/src/lib/ffmpeg/Buffer.hxx b/src/lib/ffmpeg/Buffer.hxx index fed5cb6e6..2463ce197 100644 --- a/src/lib/ffmpeg/Buffer.hxx +++ b/src/lib/ffmpeg/Buffer.hxx @@ -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); -- cgit v1.2.3