12345678910111213141516 |
- $OpenBSD: patch-libstreamanalyzer_plugins_endplugins_ffmpegendanalyzer_cpp,v 1.1 2017/05/21 00:43:52 espie Exp $
- prevent collision with std::mutex
- Index: libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
- --- libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp.orig
- +++ libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
- @@ -56,6 +56,8 @@ class STRIGI_PLUGIN_API FFMPEGEndAnalyzer : public Str
- signed char analyze(AnalysisResult& idx, ::InputStream* in);
- };
-
- +/* using namespace std is stupid */
- +#define mutex mymutex
- STRIGI_MUTEX_DEFINE(mutex);
-
- static int
|