[FFmpeg-devel] [PATCH 1/2] avcodec/htmlsubtitles: Protect very slow redundant sscanf() calls by optimized use of strchr()

Ronald S. Bultje rsbultje at gmail.com
Sat Jun 10 18:14:45 EEST 2017


Hi,

On Fri, Jun 9, 2017 at 1:39 PM, Michael Niedermayer <michael at niedermayer.cc>
wrote:

> If we want to make ff_htmlmarkup_to_ass() not go into near infinite
> loops


What's a near-infinite loop? Is it non-infinite loop, i.e. just a loop? Or
is there special something special about it? :-). "Fix [..] near-infinite
loop" just means "fix loop", and I think you meant "optimize [..] loop",
right?

Ronald


More information about the ffmpeg-devel mailing list