提交 cca8f53a 编写于 作者: L Limin Wang

avformat/prompeg: av_dict_set() -> av_dict_set_int()

Signed-off-by: NLimin Wang <lance.lmwang@gmail.com>
上级 6e911898
......@@ -291,8 +291,7 @@ static int prompeg_open(URLContext *h, const char *uri, int flags) {
}
if (s->ttl > 0) {
snprintf(buf, sizeof (buf), "%d", s->ttl);
av_dict_set(&udp_opts, "ttl", buf, 0);
av_dict_set_int(&udp_opts, "ttl", s->ttl, 0);
}
ff_url_join(buf, sizeof (buf), "udp", NULL, hostname, rtp_port + 2, NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册