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:
authorRonald S. Bultje <rsbultje@gmail.com>2018-09-30 17:23:21 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2018-10-01 22:01:21 +0300
commit92ad37cfbef69aef083f84d4d8475e970d6ac1d9 (patch)
tree3caa69352bf1fe461c3efc8c58c4f268fd1cc1b0
parentd1f35c88e26a476ddc591dd04b5f1d4ce55a2af2 (diff)
Fix occasional hang in tile row threading
-rw-r--r--src/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index 1102e3c..927d18c 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -2056,7 +2056,7 @@ static void setup_tile(Dav1dTileState *const ts,
}
if (f->n_tc > 1)
- atomic_init(&ts->progress, 0);
+ atomic_init(&ts->progress, row_sb_start);
}
int decode_tile_sbrow(Dav1dTileContext *const t) {