avfilter/allformats: make av_register_all thread safe
authorMuhammad Faiz <mfcc64@gmail.com>
Tue, 7 Mar 2017 08:53:27 +0000 (15:53 +0700)
committerMuhammad Faiz <mfcc64@gmail.com>
Tue, 7 Mar 2017 13:34:44 +0000 (20:34 +0700)
commit49635f0a46365f361ce665356bb41e199176021b
tree8fd886082e4ba910bd5e482e8b4a34ab0e2d48b1
parente85e8408802dc3a474e6a610867df8e57c768339
avfilter/allformats: make av_register_all thread safe

use ff_thread_once

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