mirror of https://github.com/FFmpeg/FFmpeg.git
These checks were (most likely) added to check for overreads as the bytestream2_get_* functions return 0 in this case. Yet this is not necessary anymore as we now have an explicit check for the size. Should the input contain a real \0, pgx_get_number() will error out lateron. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>release/5.1
parent
be6cd7dfd1
commit
67f7960505
1 changed files with 1 additions and 4 deletions
Loading…
Reference in new issue