提交 edd01c92 编写于 作者: Z Zhang Rui

ff_ffplay: use av_stristart to detect rtmp

上级 738565c7
......@@ -2258,7 +2258,7 @@ static int read_thread(void *arg)
av_format_set_control_message_cb(ic, ffp_format_control_message);
av_format_set_opaque(ic, ffp);
}
if (av_strstart(is->filename, "rtmp", NULL)) {
if (av_stristart(is->filename, "rtmp", NULL)) {
// There is total different meaning for 'timeout' option in rtmp
av_log(NULL, AV_LOG_WARNING, "remove 'timeout' option for rtmp.\n");
av_dict_set(&ffp->format_opts, "timeout", NULL, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册