lib/ffmpeg/Buffer: add "malloc" attribute
This commit is contained in:
parent
6e2d7445c5
commit
2e98324486
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user