diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-19 19:13:11 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-19 23:29:49 +0100 |
commit | 840f192540ccf261561cf3ccedf8a8b91421f66b (patch) | |
tree | c0b7e591653969a950da6dea8fe4260017b9bf07 /tests | |
parent | 94fadd335bd1405b6fad7c8d0a249c78bd475ff9 (diff) | |
download | ffmpeg-840f192540ccf261561cf3ccedf8a8b91421f66b.tar.gz |
avformat/iamf_writer: Remove nonsense check
Checking whether a pointer to an element of an array is NULL
makes no sense, as the pointer addition involved in getting
the address would be undefined behaviour already if the array
were NULL.
In this case the array allocation has already been checked
a few lines before.
Fixes Coverity issue #1559548.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions