aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg/Buffer.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-26 14:09:45 +0100
committerMax Kellermann <max@duempel.org>2014-12-26 14:09:45 +0100
commitd37811f177bb7e4c5dd6e3a18b3466ba831aa379 (patch)
tree37a044cb0a3c18f703af3c5af7346704d97c9e20 /src/lib/ffmpeg/Buffer.hxx
parentd4ca853fd32c69b336db8bd8844127a175a0949b (diff)
downloadmpd-d37811f177bb7e4c5dd6e3a18b3466ba831aa379.tar.gz
mpd-d37811f177bb7e4c5dd6e3a18b3466ba831aa379.tar.xz
mpd-d37811f177bb7e4c5dd6e3a18b3466ba831aa379.zip
lib/ffmpeg/Buffer: always include libavutil/mem.h
Needed for av_free().
Diffstat (limited to 'src/lib/ffmpeg/Buffer.hxx')
-rw-r--r--src/lib/ffmpeg/Buffer.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ffmpeg/Buffer.hxx b/src/lib/ffmpeg/Buffer.hxx
index eab1be8ce..50a702f59 100644
--- a/src/lib/ffmpeg/Buffer.hxx
+++ b/src/lib/ffmpeg/Buffer.hxx
@@ -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)