summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 0 insertions, 2 deletions
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: