mirror of https://github.com/FFmpeg/FFmpeg.git
Also improve the size check a bit; given that av_realloc_array() checks for overflow itself, we only have to check for nb_side_data + 1 still being representable in an int. But given that we can check for representability in size_t at no additional cost we do so as it leads to a nicer error code. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>release/5.1
parent
f2b79c5b85
commit
84091cd029
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue