projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only define UNICODE in src/lib/{cross_windows,util}.cc.
[dcpomatic.git]
/
src
/
lib
/
util.cc
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 2d2a63c35aaac629ab5496438180f7f4d6b81e25..0646a478772a086704cfcb6b7e4d2d87408ab18c 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-22,6
+22,8
@@
* @brief Some utility functions and classes.
*/
* @brief Some utility functions and classes.
*/
+#define UNICODE 1
+
#include "util.h"
#include "exceptions.h"
#include "dcp_content_type.h"
#include "util.h"
#include "exceptions.h"
#include "dcp_content_type.h"
@@
-367,10
+369,12
@@
dcpomatic_setup ()
SetUnhandledExceptionFilter(exception_handler);
#endif
SetUnhandledExceptionFilter(exception_handler);
#endif
+#ifdef DCPOMATIC_HAVE_AVREGISTER
DCPOMATIC_DISABLE_WARNINGS
av_register_all ();
avfilter_register_all ();
DCPOMATIC_ENABLE_WARNINGS
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
#ifdef DCPOMATIC_OSX
/* Add our library directory to the libltdl search path so that