[FFmpeg-devel] [PATCH v3] avcodec/hevcdec: dynamic allocate sList and HEVClcList

Anton Khirnov anton at khirnov.net
Wed Dec 2 14:06:24 EET 2020


Quoting Nuo Mi (2020-11-29 16:30:10)
> following comandline will crash the ffmpeg
> ffmpeg -threads 17 -thread_type slice -i WPP_A_ericsson_MAIN_2.bit out.yuv -y
> 
> the HEVCContext->sList size is MAX_NB_THREADS(16), any > 16 thread number will crash the application
> ---
>  libavcodec/hevcdec.c | 26 +++++++++++++++-----------
>  libavcodec/hevcdec.h |  5 ++---
>  2 files changed, 17 insertions(+), 14 deletions(-)

Look good, will push.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list