patch-libstreamanalyzer_plugins_endplugins_ffmpegendanalyzer_cpp 593 B

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