Commit 6e911898 authored by Limin Wang's avatar Limin Wang

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

Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
parent cb14c6ff
......@@ -301,8 +301,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
goto fail;
}
if (s->ttl > 0) {
snprintf(buf, sizeof (buf), "%d", s->ttl);
av_dict_set(&fec_opts, "ttl", buf, 0);
av_dict_set_int(&fec_opts, "ttl", s->ttl, 0);
}
}
......
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