[FFmpeg-devel] [PATCH] avutil: fix data race in av_get_cpu_flags().

wm4 nfxjfg at googlemail.com
Thu Nov 24 12:00:13 EET 2016

On Wed, 23 Nov 2016 11:44:04 -0800
Wan-Teh Chang <wtc-at-google.com at ffmpeg.org> wrote:

> On Tue, Nov 22, 2016 at 3:32 PM, wm4 <nfxjfg at googlemail.com> wrote:
> >
> > [libav/compat/atomics/] is emulation code for compilers which don't provide C11 atomics.
> > All relevant compilers provide them natively (and presumably implement
> > the weaker semantics).  
> Thank you for pointing this out.
> Do you know when the atomics code in libav will be merged to ffmpeg?
> I don't want add new code that will interfere with the merge. On the
> other hand, the new code I wanted to add will be easy to rewrite using
> C11 atomics. So this all depends on when the merge will be performed.

Merges are about 600 commits and 4 months behind, so cherry-picking
those Libav changes as michaelni suggested might be a quicker way to
get them in. It's a quite painful situation.

More information about the ffmpeg-devel mailing list