Files
ffmpeg/libavcodec
Andreas Rheinhardt 218d1f76d4 avcodec/jpeg2000dec: Move preparations to main thread, fix race
jpeg2000_decode_tile() (which is run concurrently by several threads
when using slice threading) currently modifies some joint values
before doing its actual work. This is a data race that happens to work
because all threads set the same values; but it is nevertheless
undefined behaviour.

Fix this by performing said preparatory work in the main thread instead.
This fixes the vsynth(1|2|_lena)-jpeg2000(-97)? FATE-tests when using
TSAN and slice threading.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-01-29 18:34:30 +01:00
..
2021-07-22 14:47:57 +02:00
2021-07-08 20:10:01 +02:00
2021-10-03 11:42:15 +02:00
2021-07-22 14:47:57 +02:00
2021-09-05 22:22:05 +02:00
2021-10-08 20:37:36 +11:00
2021-10-08 20:37:36 +11:00
2022-01-04 13:16:49 +01:00
2022-01-04 13:16:49 +01:00
2021-07-22 14:47:57 +02:00
2021-07-22 14:47:57 +02:00
2021-08-05 19:46:33 +02:00
2021-07-08 20:10:17 +02:00
2022-01-13 08:28:56 +01:00
2022-01-26 15:30:28 +01:00
2021-10-09 11:42:16 +02:00
2022-01-04 12:08:18 +01:00
2022-01-04 12:08:18 +01:00
2021-12-03 16:09:14 +01:00
2021-12-03 16:09:14 +01:00
2021-07-22 14:47:57 +02:00
2021-10-02 18:49:40 +02:00
2021-07-08 20:10:17 +02:00
2021-07-22 15:02:30 +02:00
2021-07-22 14:47:57 +02:00
2021-10-10 17:44:41 +02:00
2022-01-26 15:30:28 +01:00
2021-07-22 14:47:57 +02:00
2021-07-22 14:47:57 +02:00
2022-01-13 21:00:26 +01:00
2021-08-26 09:20:56 +02:00
2021-09-12 22:23:35 +02:00