open_input_file函数调用结构图(有些重复的函数调用就略掉了,大致是按流程往下的). 函数大致说明: AVFormatContext *avformat_alloc_context(void); 函数介绍: Allocate an AVFormatContext. avformat_free_context() can be used to free the context and everything allocated by the framework within it. 说明…