Skip to content
Snippets Groups Projects
Commit a2c27695 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

demux: subtitle: check the FORMAT= value is a number in mpsub

We don't need vlc_strtof_c() since we already have the float value.
We also don't need to check what is after the number (a comment for example).
As long as it's a number it should be FPS. Anything else other than
"FORMAT=TIME" is bogus. So we don't need to get the remaining part of the string.
parent 107de58d
No related branches found
Tags 3.0.18-rc
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