Revision b38f008e libavcodec/w32thread.c

View differences:

libavcodec/w32thread.c
129 129
    ThreadContext *c;
130 130
    uint32_t threadid;
131 131

  
132
    if(!(s->thread_type & FF_THREAD_SLICE)){
133
        av_log(s, AV_LOG_WARNING, "The requested thread algorithm is not supported with this thread library.\n");
134
        return 0;
135
    }
136

  
132 137
    s->thread_count= thread_count;
138
    s->active_thread_type= FF_THREAD_SLICE;
133 139

  
134 140
    if (thread_count <= 1)
135 141
        return 0;

Also available in: Unified diff