[FFmpeg-devel] [PATCH] Move the |die| member of FrameThreadContext to PerThreadContext.

Ronald S. Bultje rsbultje at gmail.com
Thu Feb 25 21:00:44 CET 2016


Hi,

On Thu, Feb 25, 2016 at 2:51 PM, Wan-Teh Chang <wtc at google.com> wrote:

> This fixes a data race warning by ThreadSanitizer.


But does it fix an actual bug? (Is there a sample this fixes?)

If anything, you can use atomic ints instead of regular ints if we don't
already [1].

Ronald

[1] https://ffmpeg.org/doxygen/trunk/atomic_8h_source.html


More information about the ffmpeg-devel mailing list