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, 7 Jan 2014 02:05:30 +0000 (03:05 +0100)
commitcf6cf50ac689e3dc69c54b66495cd4951105bf61
treef74fbcc6edaaef19e33f389de799dc5f9f757af5
parent1ecd1b4aeeb419fda0320458207991b95b4da543
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