]> git.sesse.net Git - ffmpeg/commit
avformat/hlsenc: Always treat numbers as decimal
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 15 Jun 2020 03:09:07 +0000 (05:09 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 15 Jun 2020 03:09:07 +0000 (05:09 +0200)
commit19a876fd6973724521dd5e7cc8f8e4683b19eda4
treeebe9b5ac942f87195123341d0ea2a259b9834bd2
parent3aa0be003e98006215f670e712851a443d3f3c5f
avformat/hlsenc: Always treat numbers as decimal

c801ab43c36e8c4f88121aa09af26c77bcbd671b caused a regression: The stream
number is now parsed with strtoll without a fixed basis; as a
consequence, the "010" in a variant stream mapping like "a:010" is now
treated as an octal number (i.e. as eight, not ten). This was not
intended and may break some scripts, so this commit restores the old
behaviour.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/hlsenc.c