[FFmpeg-devel] [PATCH 4/5] avformat/libsrt: specify base of maxbw string to 10 instead of auto-detect
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Thu Sep 30 04:13:59 EEST 2021
From: Limin Wang <lance.lmwang at gmail.com>
Make all options string conversion consistent.
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
libavformat/libsrt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c
index 5aef0e7..c6308d1 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);
--
1.8.3.1
More information about the ffmpeg-devel
mailing list