deps/libff: Fix that inputs are not closed when a demuxer is freed
avformat_free_context() only frees the memory used by an AVFormatContext but it does not close the opened media file. This causes a leaked file descriptor every time a media source frees a demuxer. Using avformat_close_input() instead frees the context and closes the media file.
Showing
想要评论请 注册 或 登录