提交 c657180e authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-7694 #resolve

上级 58ba5ec0
...@@ -1530,12 +1530,8 @@ static switch_status_t av_file_close(switch_file_handle_t *handle) ...@@ -1530,12 +1530,8 @@ static switch_status_t av_file_close(switch_file_handle_t *handle)
if (context->has_video) close_stream(context->fc, &context->video_st); if (context->has_video) close_stream(context->fc, &context->video_st);
if (context->has_audio) close_stream(context->fc, &context->audio_st); if (context->has_audio) close_stream(context->fc, &context->audio_st);
if (context->fc->oformat) { if (context->fc->pb) {
if (!(context->fc->oformat->flags & AVFMT_NOFILE)) { avio_close(context->fc->pb);
avio_close(context->fc->pb);//todo
} else {
avformat_network_deinit();
}
} }
/* free the stream */ /* free the stream */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论