You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
ffv1enc_vulkan: clip micro_version to 3 for level 4
This unbreaks level 4 encoding.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user