mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 18:55:08 +00:00
avformat/prompeg: av_dict_set() -> av_dict_set_int()
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
6e911898fc
commit
cca8f53a8e
@ -291,8 +291,7 @@ static int prompeg_open(URLContext *h, const char *uri, int flags) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (s->ttl > 0) {
|
if (s->ttl > 0) {
|
||||||
snprintf(buf, sizeof (buf), "%d", s->ttl);
|
av_dict_set_int(&udp_opts, "ttl", s->ttl, 0);
|
||||||
av_dict_set(&udp_opts, "ttl", buf, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ff_url_join(buf, sizeof (buf), "udp", NULL, hostname, rtp_port + 2, NULL);
|
ff_url_join(buf, sizeof (buf), "udp", NULL, hostname, rtp_port + 2, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user