projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put av_register_all() in the right place.
[dcpomatic.git]
/
src
/
lib
/
util.cc
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index b1dfeab558421d3406d5535ad3022e2d63409687..0ce538cdff2429fbd4f571a57e14e292faddef8e 100644
(file)
--- 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 <dcp/subtitle_asset.h>
extern "C" {
#include <libavfilter/avfilter.h>
+#include <libavformat/avformat.h>
#include <libavcodec/avcodec.h>
}
#include <curl/curl.h>
#include <libavcodec/avcodec.h>
}
#include <curl/curl.h>
@@
-323,6
+324,7
@@
dcpomatic_setup ()
SetUnhandledExceptionFilter(exception_handler);
#endif
SetUnhandledExceptionFilter(exception_handler);
#endif
+ av_register_all ();
avfilter_register_all ();
#ifdef DCPOMATIC_OSX
avfilter_register_all ();
#ifdef DCPOMATIC_OSX