[FFmpeg-devel] [PATCH] Always read frame progress values under progress_mutex.

Ronald S. Bultje rsbultje at gmail.com
Fri Feb 26 22:18:45 CET 2016


Hi,

On Fri, Feb 26, 2016 at 5:30 AM, wm4 <nfxjfg at googlemail.com> wrote:

> I don't know about this case, but the frame threading code uses
> improper double-checked logging. Basically it doesn't use proper
> barrier or atomics, assumes x86 semantics, and hopes the compiler won't
> get into the way.


In that case, it should be easy to run something like [1] on an arm device
and confirm a real-world bug, right? Has anyone done that?

Ronald

[1] https://blogs.gnome.org/rbultje/2014/01/12/brute-force-thread-debugging/


More information about the ffmpeg-devel mailing list