regression since 7072e79f
Operating system: OpenMandriva Lx 25.01 (ROME) Rolling
Library version: 1.5.0
Right at the beginning of this year I started seeing artifacts on YouTube videos and I immediately found out it only happened with AV1-encoded ones.
I originally reported the issue on Mesa because I mistakenly thought hardware acceleration was being used: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8342#note_2725411
Sample videos:
https://bitmovin.com/demos/av1

https://www.youtube.com/watch?v=q6ywvcOv2Qo

Interestingly, not all AV1 videos exhibit the behavior. For example, there's not a single artifact with this one:
https://www.youtube.com/watch?v=M4XWi0Diazo

Also, images can randomly show up corrupted in the browser after watching "broken" videos:
The image remains corrupted when copying it to the clipboard. Opening the image in a new tab or performing any action that causes it to be reloaded effectively removes all artifacts.
The issue looks suspiciously similar to #365 (closed) and I have upgraded from a Ryzen 7 3800X to a Ryzen 9 5900X back in December, but I sincerely doubt it's a hardware issue at this point. I'm leaning towards a possible memory corruption caused by the library under specific circumstances.
Please note that artifacts also show up when transcoding with ffmpeg:
spbtv_sample_bipbop_av1_960x540_25fps spbtv_sample_bipbop_h264_960x540_25fps
