diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index 5aef0e731e..c6308d1f6a 100644 --- a/libavformat/libsrt.c +++ b/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);