summaryrefslogtreecommitdiff
path: root/ffcmp.c
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-23 00:50:12 +0000
committerCarl Hetherington <cth@carlh.net>2018-02-23 00:50:12 +0000
commit5299a1f8ed804c92c72bd37c3f3632bfa5b754f5 (patch)
tree6890fde2bad7806e7987506fe6902401d79f35e5 /ffcmp.c
parent39dfbac23f0b044b3597d86ed2ca0a05251dd14c (diff)
Build with waf to support ubuntu 14.04.
Diffstat (limited to 'ffcmp.c')
-rw-r--r--ffcmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ffcmp.c b/ffcmp.c
index 0ba9af80..b160de63 100644
--- a/ffcmp.c
+++ b/ffcmp.c
@@ -1,5 +1,9 @@
#include <libavformat/avformat.h>
+#ifdef FFCMP_HAVE_AVUTIL_FRAME_H
#include <libavutil/frame.h>
+#else
+#include <libavcodec/avcodec.h>
+#endif
#include <getopt.h>
#include <stdbool.h>