From 46cf722d801ecd26e9103176d9caf28867c3596c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 10 Nov 2012 16:19:45 +0100 Subject: Add missing compat/libav.h includes For avcodec_free_frame(). --- audio/decode/ad_lavc.c | 1 + video/decode/vd_lavc.c | 2 ++ video/image_writer.c | 2 ++ 3 files changed, 5 insertions(+) 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 #include +#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 #include +#include "compat/libav.h" + #include "config.h" #ifdef CONFIG_JPEG -- cgit v1.2.3