diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-08-03 21:24:51 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-08-03 21:24:51 +0200 |
| commit | 4e2ff7851127cd85c3e7d78b42eb884d0cda0ac3 (patch) | |
| tree | 4d998510add120ab95838f2455a94cc565248fd6 /src/lib/util.cc | |
| parent | e14c78e13eab9125a875e90b97c7dab77aa46b90 (diff) | |
Fix build with newer FFmpeg.
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 |
