diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-18 02:48:49 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-23 06:05:16 +0200 |
commit | 325c901430781ad2d915828389a8ed5f1ad849bc (patch) | |
tree | 15ab5f3d4c3db70a9729ca7c6a6cd05e958af053 /libavdevice | |
parent | 06fdc823371d295a6f29993e5c2e9ed7df3610d2 (diff) | |
download | ffmpeg-325c901430781ad2d915828389a8ed5f1ad849bc.tar.gz |
avformat/webmdashenc: Avoid allocation for parsing a number
In order to parse a number from a string, the WebM DASH manifest muxer
would duplicate (via heap-allocation) the part of the string that
contains the number, then read the number via atoi() and then free the
duplicate again. This has been replaced by simply using strtoll() (which
in contrast to atoi() has defined behaviour when the number is not
representable).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavdevice')
0 files changed, 0 insertions, 0 deletions