From 2a89ee9a63f0ef787f81f388c118e64c4515f158 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Mon, 12 Mar 2007 17:13:20 +0000 Subject: Remove superfluous HAVE_THREADS #ifdef. patch by Ramiro Polla, angustia arrozcru.no-ip org Originally committed as revision 8348 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffplay.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ffplay.c') diff --git a/ffplay.c b/ffplay.c index a93425f686..ecf2c5be39 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1704,10 +1704,8 @@ static int stream_component_open(VideoState *is, int stream_index) if (!codec || avcodec_open(enc, codec) < 0) return -1; -#if defined(HAVE_THREADS) if(thread_count>1) avcodec_thread_init(enc, thread_count); -#endif enc->thread_count= thread_count; switch(enc->codec_type) { case CODEC_TYPE_AUDIO: -- cgit v1.2.3