History

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

Make all options string conversion consistent.

Limin Wang committed 5 years ago

Commit b4d665b1 parent 1161d8b1 file · +1 −1Browse files

Unified · Split

libavformat/libsrt.c+1−1
@@ -530,7 +530,7 @@ static int libsrt_open(URLContext *h, const char *uri, int flags) · 529 unmodified lines
530 p = strchr(uri, '?');530 p = strchr(uri, '?');
531 if (p) {531 if (p) {
532 if (av_find_info_tag(buf, sizeof(buf), "maxbw", p)) {532 if (av_find_info_tag(buf, sizeof(buf), "maxbw", p)) {
533 s->maxbw = strtoll(buf, NULL, 0);533 s->maxbw = strtoll(buf, NULL, 10);
534 }534 }
535 if (av_find_info_tag(buf, sizeof(buf), "pbkeylen", p)) {535 if (av_find_info_tag(buf, sizeof(buf), "pbkeylen", p)) {
536 s->pbkeylen = strtol(buf, NULL, 10);536 s->pbkeylen = strtol(buf, NULL, 10);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t