mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/rtpproto: av_dict_set() -> av_dict_set_int()
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
cb14c6ff8f
commit
6e911898fc
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue