avformat/libsrt: specify base of maxbw string to 10 instead of auto-detect

Make all options string conversion consistent.

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
pull/370/head
Limin Wang 3 years ago
parent 1161d8b4b3
commit b4d665bf69
  1. 2
      libavformat/libsrt.c

@ -530,7 +530,7 @@ static int libsrt_open(URLContext *h, const char *uri, int flags)
p = strchr(uri, '?');
if (p) {
if (av_find_info_tag(buf, sizeof(buf), "maxbw", p)) {
s->maxbw = strtoll(buf, NULL, 0);
s->maxbw = strtoll(buf, NULL, 10);
}
if (av_find_info_tag(buf, sizeof(buf), "pbkeylen", p)) {
s->pbkeylen = strtol(buf, NULL, 10);

Loading…
Cancel
Save