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

Paul B Mahol onemda at gmail.com
Tue Nov 28 22:27:05 EET 2017

On 11/28/17, Michael Niedermayer <michael at niedermayer.cc> wrote:
> 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
> internally.
> These registration functions should stay thread safe

I don't see why, your description is weak at best.

More information about the ffmpeg-devel mailing list