do O(1) instead of O(n) atomic operations in register functions
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Dec 2013 14:24:10 +0000 (15:24 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Dec 2013 00:05:47 +0000 (01:05 +0100)
commit66a9edfcf677f2673b5163f8008bdc7d0454074c
tree845edd94ea6a7acf0ca36ec378b01e06c330efb6
parenta9382fc15c15c0517e41db8a294afc4c7696ba19
do O(1) instead of O(n) atomic operations in register functions

about 1ms faster startup time

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 133fbfc7811ffae7b97dd129fcd0b5e646742362)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c
libavfilter/avfilter.c
libavformat/format.c