summaryrefslogtreecommitdiff
path: root/src/player.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index b8d0719..b82a3aa 100644
--- a/src/player.c
+++ b/src/player.c
@@ -39,6 +39,10 @@ THE SOFTWARE.
#include <libavfilter/avfiltergraph.h>
#include <libavfilter/buffersink.h>
#include <libavfilter/buffersrc.h>
+#ifdef HAVE_LIBAVFILTER_AVCODEC_H
+/* required by ffmpeg1.2 for avfilter_copy_buf_props */
+#include <libavfilter/avcodec.h>
+#endif
#include <libavutil/channel_layout.h>
#include <libavutil/opt.h>