avformat/rtpproto: av_dict_set() -> av_dict_set_int()

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
pull/339/head
Limin Wang 5 years ago
parent cb14c6ff8f
commit 6e911898fc
  1. 3
      libavformat/rtpproto.c

@ -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…
Cancel
Save