1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00
Muhammad Faiz 3caecf7ce8 avcodec: do not use init_static_data on some codecs
They don't modify AVCodec, no needs to call it at register. They will be
wasteful if these codecs are unused. Instead, call static data initialization
at codecs' init.

Benchmark:
old: 51281340 decicycles in avcodec_register_all,       1 runs,      0 skips
new:  6738960 decicycles in avcodec_register_all,       1 runs,      0 skips

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2018-02-04 06:11:07 +07:00
..
2018-01-05 03:35:48 +01:00
2018-01-23 21:48:31 +01:00
2017-12-10 14:43:01 +01:00
2017-12-11 00:42:26 -03:00
2017-11-26 21:41:14 +00:00
2017-12-10 14:43:01 +01:00
2017-12-10 14:43:01 +01:00
2018-01-03 13:00:06 -05:00
2017-12-19 23:22:35 +00:00
2017-12-19 23:21:59 +00:00
2017-12-19 23:21:59 +00:00
2017-12-19 23:21:59 +00:00