[FFmpeg-devel] [PATCH] avcodec/decode: use avcodec_get_hw_config()
Anton Khirnov
anton at khirnov.net
Mon Jul 1 13:16:07 EEST 2024
Quoting Kacper Michajłow (2024-06-02 03:38:18)
> Fixes libavcodec/decode.c:1035:61: runtime error: member access within
> null pointer of type 'const struct AVCodecHWConfigInternal'.
>
> This can happen when hwaccel fails to initialize and hw_configs[i] is
> NULL.
How? All this should be runtime-constant.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list