Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/decode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/decode.c b/src/decode.c
index 13d5706..b44f157 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -3443,9 +3443,7 @@ int dav1d_decode_frame(Dav1dFrameContext *const f) {
pthread_mutex_lock(&f->task_thread.ttd->lock);
res = dav1d_task_create_tile_sbrow(f, 0, 1);
if (!res) {
- const int uses_2pass = f->c->n_fc > 1;
while (!f->task_thread.done[0] ||
- (uses_2pass && !f->task_thread.done[1]) ||
f->task_thread.task_counter > 0)
{
pthread_cond_wait(&f->task_thread.cond,