Commit eaa67bb9 authored by Clément Bœsch's avatar Clément Bœsch

lavc/pthread_slice: remove pointless condition

parent 54904525
......@@ -156,11 +156,7 @@ static int thread_execute(AVCodecContext *avctx, action_func* func, void *arg, i
c->job_size = job_size;
c->args = arg;
c->func = func;
if (ret) {
c->rets = ret;
} else {
c->rets = NULL;
}
c->rets = ret;
c->current_execute++;
pthread_cond_broadcast(&c->current_job_cond);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment