[FFmpeg-devel] [PATCH 4/4] avfilter/vf_frei0r: support mixer2 and mixer3 plugins

Stefan Breunig stefan-ffmpeg-devel at breunig.xyz
Thu Jan 2 14:50:02 EET 2025


> +        if (in[i]->linesize[0] != out->linesize[0]) {
> +            AVFrame *aligned = ff_default_get_video_buffer2(outlink, outlink->w, outlink->h, 1);
> +            ret = av_frame_copy(aligned, in[i]);
> +            copies |= 1 << i;
> +            in[i] = aligned;
> +            goto end;
> +        }

This of course needs to be "if (ret < 0) goto end;", which I missed 
during review/testing. I'll amend the FATE tests to cover this code path.

- Stefan


More information about the ffmpeg-devel mailing list