Skip to content
Snippets Groups Projects
Commit 4132218b authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/htmlsubtitles: Replace very slow redundant sscanf() calls by cleaner and faster code


This reduces the worst case from O(n²) to O(n) time

Fixes Timeout
Fixes: 2127/clusterfuzz-testcase-minimized-6595787859427328

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 27c20068
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment