diff options
author | Josh Allmann <joshua.allmann@gmail.com> | 2024-06-20 17:33:55 -0700 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2024-07-01 19:59:01 +0200 |
commit | c9151ea50715c4ce47ad1c8df519781565db01f6 (patch) | |
tree | 6e28e11690ad3aa7bbd88a819b0a259e4a32cc6b /libavcodec/kbdwin.c | |
parent | cc6fb1643d7e14c6f76a48e0cffad96394cb197c (diff) | |
download | ffmpeg-c9151ea50715c4ce47ad1c8df519781565db01f6.tar.gz |
avcodec/nvenc: fix segfault in intra-only mode
In intra-only mode, frameIntervalP is 0, which means the frame
data array is smaller than the number of surfaces.
Together with using the wrong size on deallocation of the
frame_data_array, this lead to a crash.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/kbdwin.c')
0 files changed, 0 insertions, 0 deletions