Re: [FFmpeg-devel] [PATCH] avutil/atomics: replace avpriv atomics with stdatomics

2017-12-15 Thread Hendrik Leppkes
On Sat, Dec 16, 2017 at 12:04 AM, Michael Niedermayer wrote: > On Fri, Dec 15, 2017 at 06:11:34PM +, Josh de Kock wrote: >> On Fri, 15 Dec 2017 18:08:02 + >> Josh de Kock wrote: >> >> > [...] >> >> Attached again with the correct mime... >> >> -- >> Josh de Kock > >> b/libavcodec/error_

Re: [FFmpeg-devel] [PATCH] avutil/atomics: replace avpriv atomics with stdatomics

2017-12-15 Thread Michael Niedermayer
On Fri, Dec 15, 2017 at 06:11:34PM +, Josh de Kock wrote: > On Fri, 15 Dec 2017 18:08:02 + > Josh de Kock wrote: > > > [...] > > Attached again with the correct mime... > > -- > Josh de Kock > b/libavcodec/error_resilience.c |1 > b/libavcodec/parser.c |4 - > b/l

Re: [FFmpeg-devel] [PATCH] avutil/atomics: replace avpriv atomics with stdatomics

2017-12-15 Thread wm4
On Fri, 15 Dec 2017 18:11:34 + Josh de Kock wrote: > On Fri, 15 Dec 2017 18:08:02 + > Josh de Kock wrote: > > > [...] > > Attached again with the correct mime... > This looks like it's break with the win32 stdatomic wrapper for all cas calls. _

Re: [FFmpeg-devel] [PATCH] avutil/atomics: replace avpriv atomics with stdatomics

2017-12-15 Thread Josh de Kock
On Fri, 15 Dec 2017 18:08:02 + Josh de Kock wrote: > [...] Attached again with the correct mime... -- Josh de Kock >From 2c4771a24510adfb3f6346c3fbed0554034eab3b Mon Sep 17 00:00:00 2001 From: Josh de Kock Date: Fri, 15 Dec 2017 09:29:55 -0800 Subject: [PATCH] avutil/atomics: replace avp

[FFmpeg-devel] [PATCH] avutil/atomics: replace avpriv atomics with stdatomics

2017-12-15 Thread Josh de Kock
Hi, Sorry for sending this patch as an attachment, struggling to get email working properly on new setup. This patch replaces the current avpriv atomics with stdatomics. It passes fate on the latest macOS and the lastest LTS Ubuntu Linux. I haven't tested it on Windows as I don't know too much