Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/av1dec: Fix segfault upon allocation error

2020-09-16 Thread James Almer
On 9/16/2020 9:08 PM, Andreas Rheinhardt wrote: > Up until now, the AV1 decoder always checks before calling its wrapper > around ff_thread_release_buffer() whether the ThreadFrame was used at > all, i.e. it checked whether the first data buffer of the AVFrame > contained therein is NULL or not. Ye

[FFmpeg-devel] [PATCH v2 1/2] avcodec/av1dec: Fix segfault upon allocation error

2020-09-16 Thread Andreas Rheinhardt
Up until now, the AV1 decoder always checks before calling its wrapper around ff_thread_release_buffer() whether the ThreadFrame was used at all, i.e. it checked whether the first data buffer of the AVFrame contained therein is NULL or not. Yet this presumes that the AVFrame has been successfully a