提交 5efd9128 编写于 作者: A Anton Khirnov

avprobe: do not call avio_close() on a custom context

avio_close() can only be called on AVIOContexts created by avio_open(2).
上级 dc6527ed
......@@ -1025,7 +1025,8 @@ int main(int argc, char **argv)
ret = probe_file(input_filename);
probe_footer();
avio_flush(probe_out);
avio_close(probe_out);
av_freep(&probe_out);
av_freep(&buffer);
avformat_network_deinit();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册