diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-09 23:59:20 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-09 23:59:20 +0000 |
| commit | bf596f1dca9c2b08e6208d78ebd6e4e284ca2d9e (patch) | |
| tree | aba1637f8285cb419ae4a38c7c6b2f01c0dccdd7 /src/lib | |
| parent | c4cce451a4234e3e41865d7dc5073ed3ad061e3c (diff) | |
ffmpeg 0.10.4 seems not to need a buffersrc.h include.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/filter_graph.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/filter_graph.cc b/src/lib/filter_graph.cc index 17107a05b..376ab404f 100644 --- a/src/lib/filter_graph.cc +++ b/src/lib/filter_graph.cc @@ -23,7 +23,9 @@ extern "C" { #include <libavfilter/avfiltergraph.h> +#ifdef HAVE_BUFFERSRC_H #include <libavfilter/buffersrc.h> +#endif #if (LIBAVFILTER_VERSION_MAJOR == 2 && LIBAVFILTER_VERSION_MINOR >= 53 && LIBAVFILTER_VERSION_MINOR <= 77) || LIBAVFILTER_VERSION_MAJOR == 3 #include <libavfilter/avcodec.h> #include <libavfilter/buffersink.h> |
