You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
@@ -530,7 +530,7 @@ static int libsrt_open(URLContext *h, const char *uri, int flags)
|
|||||||
p = strchr(uri, '?');
|
p = strchr(uri, '?');
|
||||||
if (p) {
|
if (p) {
|
||||||
if (av_find_info_tag(buf, sizeof(buf), "maxbw", 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)) {
|
if (av_find_info_tag(buf, sizeof(buf), "pbkeylen", p)) {
|
||||||
s->pbkeylen = strtol(buf, NULL, 10);
|
s->pbkeylen = strtol(buf, NULL, 10);
|
||||||
|
Reference in New Issue
Block a user