mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
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>
This commit is contained in:
parent
1161d8b4b3
commit
b4d665bf69
@ -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…
Reference in New Issue
Block a user