threadless threads warning

Originally committed as revision 2776 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-02-13 22:18:33 +00:00
parent a734250db6
commit 842b556af2

View File

@ -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)