framethreads=2 hangs on 128th frame
Get sample
$ youtube-dl -f 399 -o dua.mp4 k2qgadSvNyU
$ ffmpeg -i dua.mp4 -c copy dua.ivf
$ echo -n AV | dd of=dua.ivf bs=1 count=2 seek=8 conv=notrunc
Test command
$ time dav1d -i dua.ivf -o /dev/null --muxer yuv4mpeg2 --limit=129 --framethreads=2
Dav1d 52d711d - by Two Orioles
Decoded 128/129 frames (99.2%)
I can always reproduce issue with that sample.