diff options
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 2d2a63c35..4ce677bf6 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -367,10 +367,12 @@ dcpomatic_setup () SetUnhandledExceptionFilter(exception_handler); #endif +#ifdef DCPOMATIC_HAVE_AVREGISTER DCPOMATIC_DISABLE_WARNINGS av_register_all (); avfilter_register_all (); DCPOMATIC_ENABLE_WARNINGS +#endif #ifdef DCPOMATIC_OSX /* Add our library directory to the libltdl search path so that |
