avfilter/allfilters: make avfilter_register_all thread safe
authorMuhammad Faiz <mfcc64@gmail.com>
Tue, 7 Mar 2017 08:54:44 +0000 (15:54 +0700)
committerMuhammad Faiz <mfcc64@gmail.com>
Tue, 7 Mar 2017 13:34:44 +0000 (20:34 +0700)
commitaf7010ad0557fe66d35886581eecebf02e92637c
tree8cab1573caa9613f9fb5a13dcd2b746e61607189
parent49635f0a46365f361ce665356bb41e199176021b
avfilter/allfilters: make avfilter_register_all thread safe

use ff_thread_once

Suggested-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
libavfilter/allfilters.c