FFmpeg结构体彻底分析——AVCodec
/** * AVCodec.一个AVCodec结构体对应一个编解码器,这个结构体表示编解码器本身 */ typedef struct AVCodec { /** * Name of the codec implementation. 编解码实现的名字 * The name is globally unique among encoders and among decoders (but an * encoder and a decoder can share the same name). * This is the primary way to find a codec from the user perspective. */ const char *name; //编解码器实现的名字,这个名字全局唯一(但是编解码器可以共用一个名字),从用户方面去找编解码器的主要方式 /** * Descriptive name for the codec, meant to be more human readable than name. * You should use the NULL_IF_CONFIG_SMALL() macro to define it. */ const char *long_name ;//更接近人类可阅读的编解码器的描述名字,要使用NULL_IF