shithub: dav1d

Download patch

ref: 92ad37cfbef69aef083f84d4d8475e970d6ac1d9
parent: d1f35c88e26a476ddc591dd04b5f1d4ce55a2af2
author: Ronald S. Bultje <rsbultje@gmail.com>
date: Sun Sep 30 06:23:21 EDT 2018

Fix occasional hang in tile row threading

--- a/src/decode.c
+++ b/src/decode.c
@@ -2056,7 +2056,7 @@
     }
 
     if (f->n_tc > 1)
-        atomic_init(&ts->progress, 0);
+        atomic_init(&ts->progress, row_sb_start);
 }
 
 int decode_tile_sbrow(Dav1dTileContext *const t) {