summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-11 23:08:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-11 23:31:28 +0200
commit9ec5e956a2a4e359f21d48cc700527ca6ae9e32e (patch)
treef0e50775bcc413cb119f0000c96bb80ddd2ac643 /ffmpeg.c
parentf91b635b520aec02cfd23ff91d00a7eb4ef89292 (diff)
downloadffmpeg-9ec5e956a2a4e359f21d48cc700527ca6ae9e32e.tar.gz
ffmpeg: disable threading on mingw, it doesnt work due to dependance on internal code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c779cea5c9..e7db67a93d 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