summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Spinella <oss@danyspin97.org>2020-11-29 13:09:51 +0100
committerMax Kellermann <max@musicpd.org>2020-11-30 20:06:21 +0100
commit92bfdffa42304fb11663c30c2870cc0dfa205a3e (patch)
treef3ebfb5c33d7eb95aadd4e1f2a450c709b1d04da
parent38b41fc3fdc11300296809c08313eca0d6698f76 (diff)
lib/ffmpeg/Filter: Add define required for avutil
-rw-r--r--src/lib/ffmpeg/Filter.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ffmpeg/Filter.hxx b/src/lib/ffmpeg/Filter.hxx
index b92a6ab1b..5ba73fe30 100644
--- a/src/lib/ffmpeg/Filter.hxx
+++ b/src/lib/ffmpeg/Filter.hxx
@@ -20,6 +20,9 @@
#ifndef MPD_FFMPEG_FILTER_HXX
#define MPD_FFMPEG_FILTER_HXX
+/* necessary because libavutil/common.h uses UINT64_C */
+#define __STDC_CONSTANT_MACROS
+
#include "Error.hxx"
extern "C" {