diff options
author | Thomas Guillem <thomas@gllm.fr> | 2024-10-07 17:43:07 +0200 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2024-10-30 21:31:17 +0800 |
commit | 44a0a0c050461abfc10de722c7e67534751ba760 (patch) | |
tree | 3fb1b9ac314f2bcdb13e952852c7eb1584346fb4 /libavutil | |
parent | bb57b780134f59e3bddfab295e34e88468bbd545 (diff) | |
download | ffmpeg-44a0a0c050461abfc10de722c7e67534751ba760.tar.gz |
avcodec/decode: clean-up if get_hw_frames_parameters fails
Fixes the following assert:
[00007f1df83d17e0] vaapi generic error: avcodec_get_hw_frames_parameters failed: -22
Assertion p_dst->hwaccel_threadsafe || (!dst->hwaccel && !dst->internal->hwaccel_priv_data) failed at libavcodec/pthread_frame.c:349
Reproduced from VLC with VAAPI, when fallbacking from hw to sw.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions