summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/decode/vd_lavc.c2
-rw-r--r--video/image_writer.c2
2 files changed, 4 insertions, 0 deletions
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