This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit 407ad3345017628bc33d495754eda6ab975b034c Author: romainhedouin <[email protected]> AuthorDate: Sat Nov 7 03:18:10 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 19 14:56:30 2026 +0100 avcodec/vulkan_encode: return an error if there is no encode queue err is still 0 here, so ff_vulkan_encode_init() reported success without a queue and h264_vulkan/hevc_vulkan crashed in avcodec_open2(). Fixes: https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/22831 Fix written with the help of an LLM; reproduced and tested before submission. Signed-off-by: romainhedouin <[email protected]> (cherry picked from commit bcbbfb78b42ca62e0bf0d3d47746840790e71dcc) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/vulkan_encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vulkan_encode.c b/libavcodec/vulkan_encode.c index 9d3c9b04c5..f57a5edef3 100644 --- a/libavcodec/vulkan_encode.c +++ b/libavcodec/vulkan_encode.c @@ -884,7 +884,7 @@ av_cold int ff_vulkan_encode_init(AVCodecContext *avctx, FFVulkanEncodeContext * if (!ctx->qf_enc) { av_log(avctx, AV_LOG_ERROR, "Encoding of %s is not supported by this device\n", avcodec_get_name(avctx->codec_id)); - return err; + return AVERROR(ENOSYS); } /* Load all properties */ -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
