diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c index e02130c47b..a72ac47f8b 100644 --- a/libavcodec/ffv1enc_vulkan.c +++ b/libavcodec/ffv1enc_vulkan.c @@ -1398,6 +1398,10 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext *avctx) return AVERROR_INVALIDDATA; } + /* We target version 4.3 */ + if (f->version == 4 && f->micro_version > 4) + f->micro_version = 3; + //if (fv->ctx.ac == AC_GOLOMB_RICE) { if (0) { int w_a = FFALIGN(avctx->width, LG_ALIGN_W);