Re: [FFmpeg-devel] [RFC PATCH] avcodec/vvc: Don't use large array on stack

2024-09-19 Thread James Almer
On 9/19/2024 2:27 PM, Zhao Zhili wrote: From: Zhao Zhili tmp_array in dmvr_hv takes 33024 bytes on stack, which can be dangerous. This patch fixed the C version and comment out the x86 asm version. You don't need to comment it out. The x86 versions don't use the new argument, so just update th

[FFmpeg-devel] [RFC PATCH] avcodec/vvc: Don't use large array on stack

2024-09-19 Thread Zhao Zhili
From: Zhao Zhili tmp_array in dmvr_hv takes 33024 bytes on stack, which can be dangerous. This patch fixed the C version and comment out the x86 asm version. --- libavcodec/vvc/ctu.h | 1 + libavcodec/vvc/dsp.h | 2 +- libavcodec/vvc/inter.c | 2 +- libavcode