Multithreaded slice decoding in HEVC producing incorrect output
|Reported by:||Christophe||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
When using the appropriate sequence (containing slices or wavefronts), that kind of command-line produce varying CRCs:
./ffmpeg -threads 12 -thread_type slice -i <seq> -an -sn -f crc -
The expected output is a constant CRC, indicating valid decoding. This is what happends when 1 thread is used, or thread type is frame.
This is a regression since cf92cc8. The commit in itself can cause crashes, and to test it, 7117547 is required. I'm unfortunately not sure if any other commit/fix is required. Note that the code has changed much since cf92cc8, but the issue is still present.
The sequence on which I observed it is unfortunately not distribuable, and I don't know what freely distribuable sequence would exhibit the issue.