[FFmpeg-devel] [PATCH 2/4] lavfi/avfilter: simplify filter registration

Michael Niedermayer michael at niedermayer.cc
Tue Nov 28 22:23:58 EET 2017

On Mon, Nov 27, 2017 at 04:30:19AM +0000, Rostislav Pehlivanov wrote:
> Atomics were entirely pointless and did nothing but slow and complicate
> the process down. This could be improved further still but the main
> objective of this commit is to simplify.
> Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>
> ---
>  libavfilter/avfilter.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

*_register() can be called by the user app in a unsyncronized way
for example from a module like vlc used AFAIK.
or from libs loaded by an application which use libavfilter or other

These registration functions should stay thread safe


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety -- Benjamin Franklin
-------------- 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/20171128/a7ddf5b1/attachment.sig>

More information about the ffmpeg-devel mailing list