用于关闭编码器,声明位于 libavcodec\utils.c。其原型如下: int avcodec_close(AVCodecContext *avctx) 该函数只有一个参数,就是需要关闭的编码器的 AVCodecContext。