From 842b556af2c984e8b51278b75f5203e154031049 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Fri, 13 Feb 2004 22:18:33 +0000
Subject: [PATCH] threadless threads warning

Originally committed as revision 2776 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 ffmpeg.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index 0d9d69d09bb..8f9ad0fe1c7 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)
-- 
GitLab