Re: [FFmpeg-devel] [PATCH] avformat/webvttdec: Accept \r as newline

2020-06-24 Thread Andreas Rheinhardt
Andreas Rheinhardt: > 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 w

[FFmpeg-devel] [PATCH] avformat/webvttdec: Accept \r as newline

2020-06-20 Thread Andreas Rheinhardt
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 p