Commit 9638caa7 authored by Ronan's avatar Ronan

fix(libavutil/dict): include mem.h first to avoid bad macro expansion

parent f7589590
......@@ -18,10 +18,15 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Must be included first because `malloc` is defined as macro.
* => Otherwise break some pieces of code in macro expansion...
#include "mem.h"
#include "avstring.h"
#include "dict.h"
#include "internal.h"
#include "mem.h"
AVDictionaryEntry *
av_dict_get(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags)
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