mirror of https://github.com/FFmpeg/FFmpeg.git
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>release/6.0
parent
b8fca1f1f5
commit
79e9bdf749
1 changed files with 2 additions and 3 deletions
Loading…
Reference in new issue