Re: [FFmpeg-devel] [PATCH] avcodec/pthread_frame: rework assert

2024-11-29 Thread Thomas Guillem via ffmpeg-devel
Sorry for the spam. "avcodec: uninit hwaccel in case of software decoder" is a better version. On Fri, Nov 29, 2024, at 09:37, Thomas Guillem via ffmpeg-devel wrote: > This patch is an alternative to the patch "avcodec: add > avcodec_reset_hw_frames_parameters(): > > On Fri, Nov 29, 2024, at 09:

Re: [FFmpeg-devel] [PATCH] avcodec/pthread_frame: rework assert

2024-11-29 Thread Thomas Guillem via ffmpeg-devel
This patch is an alternative to the patch "avcodec: add avcodec_reset_hw_frames_parameters(): On Fri, Nov 29, 2024, at 09:34, Thomas Guillem via ffmpeg-devel wrote: > avcodec_get_hw_frames_parameters(), called by the user from get_format, > is allocating ctx->internal->hwaccel_priv_data. But the