+ # See if we have av_register_all and avfilter_register_all
+ conf.check_cxx(fragment="""
+ extern "C" {\n
+ #include <libavformat/avformat.h>\n
+ #include <libavfilter/avfilter.h>\n
+ }\n
+ int main () { av_register_all(); avfilter_register_all(); }\n
+ """,
+ msg='Checking for av_register_all and avfilter_register_all',
+ uselib='AVFORMAT AVFILTER',
+ define_name='DCPOMATIC_HAVE_AVREGISTER',
+ mandatory=False)
+