Browse code

threadless threads warning

Originally committed as revision 2776 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer authored on 2004/02/14 07:18:33
Showing 1 changed files
... ...
@@ -2036,6 +2036,9 @@ static void opt_sc_threshold(const char *arg)
2036 2036
 static void opt_thread_count(const char *arg)
2037 2037
 {
2038 2038
     thread_count= atoi(arg);
2039
+#ifndef HAVE_PTHREADS
2040
+    fprintf(stderr, "Warning: not compiled with thread support, using thread emulation\n");
2041
+#endif
2039 2042
 }
2040 2043
 
2041 2044
 static void opt_audio_bitrate(const char *arg)