Commit d37811f1 authored by Max Kellermann's avatar Max Kellermann

lib/ffmpeg/Buffer: always include libavutil/mem.h

Needed for av_free().
parent d4ca853f
......@@ -21,11 +21,10 @@
#define MPD_FFMPEG_BUFFER_HXX
extern "C" {
#include <libavutil/avutil.h>
#include <libavutil/mem.h>
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(52, 18, 0)
#define HAVE_AV_FAST_MALLOC
#include <libavutil/mem.h>
#else
#include <libavcodec/avcodec.h>
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 25, 0)
......
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