[FFmpeg-devel] [PATCH 4/4] avfilter: use a mutex instead of atomics in avfilter_register()
Bang He
hezhanbang at gmail.com
Fri Jan 5 04:32:50 EET 2018
i think we do not need lock. and we need keep on the last codec pointer.
On Fri, Jan 5, 2018 at 2:28 AM, wm4 <nfxjfg at googlemail.com> wrote:
> On Thu, 4 Jan 2018 15:19:04 -0300
> James Almer <jamrial at gmail.com> wrote:
>
> > Signed-off-by: James Almer <jamrial at gmail.com>
> > ---
> > With this, the last users of libavutil's atomic wrappers are dealt
> > with.
>
> Technically, you need to lock when reading the next pointers too? Don't
> know if that actually matters.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list