Commit cca8f53a authored by Limin Wang's avatar Limin Wang

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

Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment