diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-07-31 11:50:21 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-02 18:31:59 +0200 |
commit | 2d7c1479c204ef2a8b9f1c0273e0e6cddd634ed5 (patch) | |
tree | ebcbf4b45747ffafc2d96cb4e068886c8a59f6cf /libavcodec/videodsp.h | |
parent | 28817b90fc3ea9f7d3a3a8864fdb3191cb95fe76 (diff) | |
download | ffmpeg-2d7c1479c204ef2a8b9f1c0273e0e6cddd634ed5.tar.gz |
avcodec/nvenc: Remove always-true check
nvenc_store_frame_data() is always called with frame != NULL
(checked at the beginning of nvenc_send_frame());
in fact, frame is dereferenced unconditionally after the block
guarded by the check for frame. Therefore Coverity complains
about this in issue #1538295.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/videodsp.h')
0 files changed, 0 insertions, 0 deletions