提交 485a63e1 authored 作者: blu's avatar blu

big refacting of communitation architect

上级 edf854e1
......@@ -262,7 +262,7 @@ protected:
int ret = 0;
AVDictionary * optsIn;
av_dict_set(&optsIn, "timeout", "7", 0);
if ((ret = avformat_open_input(&pAVFormatInput, urlIn.c_str(), NULL, &optsIn)) < 0) {
if ((ret = avformat_open_input(&pAVFormatInput, urlIn.c_str(), NULL, NULL)) < 0) {
spdlog::error("Could not open input stream {}", urlIn);
}
if ((ret = avformat_find_stream_info(pAVFormatInput, NULL)) < 0) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论