diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-14 23:55:39 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:59 +0100 |
commit | 515aa63e4dd76a96022df04b07823b568c5fef65 (patch) | |
tree | aa04f6ea92519ce9f05a5c26c072f4c97009f2e1 /libavfilter/vf_field.c | |
parent | 3e8771e99e0c5572b92dccc0a6a034ab121d96cd (diff) | |
download | ffmpeg-515aa63e4dd76a96022df04b07823b568c5fef65.tar.gz |
avformat/utils: Add av_assert1 to preclude NULL + len, len != 0
Such a scenario is undefined behaviour and would also indicate a bug
in our code.
Suggested-by: James Almer <jamrial@gmail.com>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit da857099e92fb7fede6d7b9e6b26879ce9c5a483)
Diffstat (limited to 'libavfilter/vf_field.c')
0 files changed, 0 insertions, 0 deletions