diff options
author | Max Kellermann <max@duempel.org> | 2015-06-22 09:11:22 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-22 09:11:22 +0200 |
commit | 2e983244865ab1c004022034e74f61b8d8620543 (patch) | |
tree | e4bd09c179e91ec31f5e6ff111130b1bba4d1a8f | |
parent | 6e2d7445c50e30090e468f7c76fb95ff0c219183 (diff) | |
download | mpd-2e983244865ab1c004022034e74f61b8d8620543.tar.gz mpd-2e983244865ab1c004022034e74f61b8d8620543.tar.xz mpd-2e983244865ab1c004022034e74f61b8d8620543.zip |
lib/ffmpeg/Buffer: add "malloc" attribute
Diffstat (limited to '')
-rw-r--r-- | src/lib/ffmpeg/Buffer.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
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); |