summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-02-13 22:18:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-02-13 22:18:33 +0000
commit842b556af2c984e8b51278b75f5203e154031049 (patch)
tree93a88ce5353ff259a5e21387a61fdd0e19fff1c7 /ffmpeg.c
parenta734250db6d0ddce959ff472cfef0b682817c6aa (diff)
threadless threads warning
Originally committed as revision 2776 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 0d9d69d09b..8f9ad0fe1c 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2036,6 +2036,9 @@ static void opt_sc_threshold(const char *arg)
static void opt_thread_count(const char *arg)
{
thread_count= atoi(arg);
+#ifndef HAVE_PTHREADS
+ fprintf(stderr, "Warning: not compiled with thread support, using thread emulation\n");
+#endif
}
static void opt_audio_bitrate(const char *arg)