BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic...
[ffmpeg.git] / libavcodec / utils.c
index 6702cd1..c1f88d0 100644 (file)
@@ -912,7 +912,7 @@ void av_log_set_callback(void (*callback)(void*, int, const char*, va_list))
     av_log_callback = callback;
 }
 
-#if !defined(HAVE_PTHREADS) && !defined(HAVE_W32THREADS)
+#if !defined(HAVE_THREADS)
 int avcodec_thread_init(AVCodecContext *s, int thread_count){
     return -1;
 }