aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cavsdec.c
diff options
context:
space:
mode:
authorJosh Allmann <joshua.allmann@gmail.com>2024-06-20 17:33:55 -0700
committerTimo Rothenpieler <timo@rothenpieler.org>2024-07-01 19:59:01 +0200
commitc9151ea50715c4ce47ad1c8df519781565db01f6 (patch)
tree6e28e11690ad3aa7bbd88a819b0a259e4a32cc6b /libavcodec/cavsdec.c
parentcc6fb1643d7e14c6f76a48e0cffad96394cb197c (diff)
downloadffmpeg-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/cavsdec.c')
0 files changed, 0 insertions, 0 deletions