[FFmpeg-devel] [PATCH 4/6] Revert "avcodec/pngdec: fix possible race condition with APNG decoding"

Anton Khirnov anton at khirnov.net
Wed Feb 17 10:14:36 EET 2021


Quoting Paul B Mahol (2021-02-16 21:57:47)
> Do you have actual proof for such claims?

The burden of proof is on you here - you are supposed to prove that your
commit fixes something. And when I asked you about details, you couldn't
even tell me what the bug was, much less why would switching the order
of allocations be the correct fix for it.

> 
> There is no point in reverting commit if that commit fixed some behavior.

It didn't fix anything though. Before your commit, frame 69 of the
sample in #9017 is almost black with 1 thread and looks okay with 2
threads. After your commit, it is almost black in both cases. So your
commit made it consistently wrong. This shows up in my tests and is also
supported by the last comment in https://trac.ffmpeg.org/ticket/9017
Feel free to test it yourself.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list