1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +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:
Limin Wang 2020-05-25 20:19:09 +08:00
parent cb14c6ff8f
commit 6e911898fc

View File

@ -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);
}
}