diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-10 13:53:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-10 13:53:28 +0100 |
| commit | fc4956d144ed0869fe2fa1737adc21104bb47836 (patch) | |
| tree | 4720a90016035cee17dbd80321750ef588a2caa6 /src/lib/util.cc | |
| parent | a39245387d5921ca2e1ac6090a78e1e5afa9e7c9 (diff) | |
Put av_register_all() in the right place.
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 b1dfeab55..0ce538cdf 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -44,6 +44,7 @@ #include <dcp/subtitle_asset.h> extern "C" { #include <libavfilter/avfilter.h> +#include <libavformat/avformat.h> #include <libavcodec/avcodec.h> } #include <curl/curl.h> @@ -323,6 +324,7 @@ dcpomatic_setup () SetUnhandledExceptionFilter(exception_handler); #endif + av_register_all (); avfilter_register_all (); #ifdef DCPOMATIC_OSX |
