提交 8af2c168 编写于 作者: J Jim

Merge pull request #535 from reboot/fix_unclosed_media_source_files

deps/libff: Fix that inputs are not closed when a demuxer is freed
......@@ -94,7 +94,7 @@ void ff_demuxer_free(struct ff_demuxer *demuxer)
ff_decoder_free(demuxer->video_decoder);
if (demuxer->format_context)
avformat_free_context(demuxer->format_context);
avformat_close_input(&demuxer->format_context);
av_free(demuxer);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册