1. av_register_all() 该函数位于 libavformat/allformats.c 中. 该函数主要是注册所有的编解码器.复用/解复用组件等. /* * Initialize liavformat and register all the muxers, demuxers and * protocols. If you do not call this function, then you can select * exactly which formats you want