[SCM] libav/experimental: threadless threads warning

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:39:12 UTC 2013


The following commit has been merged in the experimental branch:
commit 842b556af2c984e8b51278b75f5203e154031049
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Feb 13 22:18:33 2004 +0000

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

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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list