summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/decode/ad_lavc.c1
-rw-r--r--video/decode/vd_lavc.c2
-rw-r--r--video/image_writer.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/audio/decode/ad_lavc.c b/audio/decode/ad_lavc.c
index 2342a6985f..ac72d62212 100644
--- a/audio/decode/ad_lavc.c
+++ b/audio/decode/ad_lavc.c
@@ -35,6 +35,7 @@
#include "audio/reorder_ch.h"
#include "compat/mpbswap.h"
+#include "compat/libav.h"
static const ad_info_t info =
{
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index 929c6c77f3..068a11b00a 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -27,6 +27,8 @@
#include <libavutil/opt.h>
#include <libavutil/intreadwrite.h>
+#include "compat/libav.h"
+
#include "talloc.h"
#include "config.h"
#include "core/mp_msg.h"
diff --git a/video/image_writer.c b/video/image_writer.c
index 9f4ca4d2b1..810c1598b6 100644
--- a/video/image_writer.c
+++ b/video/image_writer.c
@@ -24,6 +24,8 @@
#include <libavcodec/avcodec.h>
#include <libavutil/mem.h>
+#include "compat/libav.h"
+
#include "config.h"
#ifdef CONFIG_JPEG