Browse Source

lavc/pthread_slice: remove pointless condition

tags/n3.3
Clément Bœsch 8 years ago
parent
commit
eaa67bb9c0
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      libavcodec/pthread_slice.c

+ 1
- 5
libavcodec/pthread_slice.c View File

@@ -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);



Loading…
Cancel
Save