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

Michael Niedermayer michael at niedermayer.cc
Wed Nov 23 23:48:18 EET 2016

On Wed, Nov 23, 2016 at 11:44:04AM -0800, Wan-Teh Chang 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?

You can just cherry pick what you need and submit it as patchset to
make sure though all author fields are 100% correct

> 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.
> Thanks,
> Wan-Teh Chang
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161123/aa5aa1db/attachment.sig>

More information about the ffmpeg-devel mailing list