mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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
Block a user