aboutsummaryrefslogtreecommitdiffstats
path: root/doc/snow.txt
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-20 07:06:04 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-26 07:48:10 +0200
commit7447045cc0dacf9eedf230070c0675eecf546ff6 (patch)
treeeaef29c2ae99c7a9a4e560ad8170826567f96cd4 /doc/snow.txt
parent36fa84e7ac805a774820d06b3d58e4e875cb11c9 (diff)
downloadffmpeg-7447045cc0dacf9eedf230070c0675eecf546ff6.tar.gz
avformat/webvttdec: Accept \r as newline
After parsing the end timestamp of a WebVTT cue block, the current code skips everything after the start of the timestamp that is not a \t, ' ' or \n and treats what is next as the start of a WebVTT cue settings list. Yet if there is no such list, but a single \r, this will skip a part of the cue payload (namely everything until the first occurence of \t, ' ' or \n) and treat what has not been skipped as the beginning of the WebVTT cue settings list that extends until the next \r or \n (or the end). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/snow.txt')
0 files changed, 0 insertions, 0 deletions