[FFmpeg-cvslog] ffmpeg: disable threading on mingw, it doesnt work due to dependance on internal code.

Michael Niedermayer git at videolan.org
Mon Jun 11 23:31:45 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun 11 23:08:59 2012 +0200| [9ec5e956a2a4e359f21d48cc700527ca6ae9e32e] | committer: Michael Niedermayer

ffmpeg: disable threading on mingw, it doesnt work due to dependance on internal code.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ec5e956a2a4e359f21d48cc700527ca6ae9e32e
---

 ffmpeg.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index c779cea..e7db67a 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -90,7 +90,9 @@
 #if HAVE_PTHREADS
 #include <pthread.h>
 #else
-#include "libavcodec/w32pthreads.h"
+//#include "libavcodec/w32pthreads.h"
+#undef HAVE_THREADS
+#define HAVE_THREADS 0
 #endif
 #endif
 



More information about the ffmpeg-cvslog mailing list