Re: [FFmpeg-devel] [PATCH] lavfi: fix race when func rets holder is NULL

2017-03-28 Thread Clément Bœsch
On Tue, Mar 28, 2017 at 11:39:49PM +0200, Michael Niedermayer wrote: > On Tue, Mar 28, 2017 at 05:59:29PM +0200, Clément Bœsch wrote: > > From: Clément Bœsch > > > > If ret is NULL, a dummy common holder is created to hold *all* the > > parallel function returns, which gets written concurrently.

Re: [FFmpeg-devel] [PATCH] lavfi: fix race when func rets holder is NULL

2017-03-28 Thread Michael Niedermayer
On Tue, Mar 28, 2017 at 05:59:29PM +0200, Clément Bœsch wrote: > From: Clément Bœsch > > If ret is NULL, a dummy common holder is created to hold *all* the > parallel function returns, which gets written concurrently. This commit > simplify the whole logic by simply not writing to that holder whe