mirror of https://github.com/FFmpeg/FFmpeg.git
Every font entry occupies at least three bytes, so checking early whether there is that much data available is a low-effort way to exclude invalid extradata. Doing so leads to an overall simplification. Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/355/head
parent
38cdd27e9b
commit
a42695c072
1 changed files with 7 additions and 11 deletions
Loading…
Reference in new issue