avformat/format: Fix registering a format more than once and related races
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 7 Apr 2016 15:26:56 +0000 (17:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 Jun 2016 18:09:10 +0000 (20:09 +0200)
commit4cc896ea5f06f8b1ebcde6d876d9c5b59ef9a016
treea88e970198eab6719658018b4cd64926a92908c7
parenta887fbb582fe648c77aef2e6572132eec0310ae7
avformat/format: Fix registering a format more than once and related races

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/format.c