This unbreaks level 4 encoding.
Unified · Split
| @@ -1398,6 +1398,10 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext *avctx) · 1397 unmodified lines | ||
| 1398 | 1398 | return AVERROR_INVALIDDATA; |
| 1399 | 1399 | } |
| 1400 | 1400 | |
| 1401 | + /* We target version 4.3 */ | |
| 1402 | + if (f->version == 4 && f->micro_version > 4) | |
| 1403 | + f->micro_version = 3; | |
| 1404 | + | |
| 1401 | 1405 | //if (fv->ctx.ac == AC_GOLOMB_RICE) { |
| 1402 | 1406 | if (0) { |
| 1403 | 1407 | int w_a = FFALIGN(avctx->width, LG_ALIGN_W); |