mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/pthread_slice: remove pointless condition
This commit is contained in:
parent
549045254c
commit
eaa67bb9c0
@ -156,11 +156,7 @@ static int thread_execute(AVCodecContext *avctx, action_func* func, void *arg, i
|
|||||||
c->job_size = job_size;
|
c->job_size = job_size;
|
||||||
c->args = arg;
|
c->args = arg;
|
||||||
c->func = func;
|
c->func = func;
|
||||||
if (ret) {
|
c->rets = ret;
|
||||||
c->rets = ret;
|
|
||||||
} else {
|
|
||||||
c->rets = NULL;
|
|
||||||
}
|
|
||||||
c->current_execute++;
|
c->current_execute++;
|
||||||
pthread_cond_broadcast(&c->current_job_cond);
|
pthread_cond_broadcast(&c->current_job_cond);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user