avcodec/parser: use a mutex instead of atomics in av_register_codec_parser()
authorJames Almer <jamrial@gmail.com>
Thu, 4 Jan 2018 18:11:32 +0000 (15:11 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 5 Jan 2018 00:56:49 +0000 (21:56 -0300)
commitd36335bda5e5eff317240c098337cbfc57906897
tree49cdf16a229c5b96434688431666e655f25543e1
parentf528c49c7cd10bfb7f639c467e11bb624be71eef
avcodec/parser: use a mutex instead of atomics in av_register_codec_parser()

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/parser.c