summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-10 16:19:45 +0100
committerwm4 <wm4@nowhere>2012-11-12 20:08:24 +0100
commit46cf722d801ecd26e9103176d9caf28867c3596c (patch)
treeb3aa0f361ea1972ffe4cf80aa00aa254dbdcd577 /video
parent4873b32c5959c988af1769529ff72e3fd62fba82 (diff)
downloadmpv-46cf722d801ecd26e9103176d9caf28867c3596c.tar.bz2
mpv-46cf722d801ecd26e9103176d9caf28867c3596c.tar.xz
Add missing compat/libav.h includes
For avcodec_free_frame().
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