1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavcodec
Zhao Zhili 79e9bdf749 avcodec/videotoolbox: fix NULL pointer dereference
In the code path of av_videotoolbox_default_init/init2(),
avctx->internal->hwaccel_priv_data is NULL and passed to
decoder_cb.decompressionOutputRefCon. Then it will be dereferenced
inside videotoolbox_decoder_callback().

Delay videotoolbox_star() until ff_videotoolbox_common_init() to
fix the bug.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2023-01-26 23:47:42 +08:00
..
2023-01-24 16:58:01 +01:00
2022-12-13 08:48:59 -05:00
2023-01-24 16:58:01 +01:00
2023-01-24 16:58:01 +01:00
2023-01-24 16:58:01 +01:00
2023-01-11 12:12:27 +01:00
2023-01-24 16:58:01 +01:00
2023-01-06 10:47:53 +01:00
2023-01-25 08:09:24 -05:00
2023-01-25 08:09:24 -05:00
2023-01-17 12:54:54 +01:00
2023-01-11 12:12:26 +01:00
2022-12-24 23:43:45 +01:00
2023-01-24 16:58:01 +01:00
2023-01-24 16:58:01 +01:00
2022-12-08 17:48:21 +01:00