mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02: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) {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user