[FFmpeg-devel] [PATCH] libavfilter/yadif_cuda: Fix build breakage
Dennis Mungai
dmngaie at gmail.com
Thu May 11 20:13:46 EEST 2023
On Thu, 11 May 2023 at 20:12, Devin Heitmueller <
devin.heitmueller at ltnglobal.com> wrote:
> Address build breakage caused by my latest series when compiling
> with CUDA support. Thanks to Paul Mahol for pointing it out.
>
> Signed-off-by: Devin Heitmueller <dheitmueller at ltnglobal.com>
> ---
> libavfilter/vf_yadif_cuda.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavfilter/vf_yadif_cuda.c b/libavfilter/vf_yadif_cuda.c
> index f3f0b56..73f0412 100644
> --- a/libavfilter/vf_yadif_cuda.c
> +++ b/libavfilter/vf_yadif_cuda.c
> @@ -205,7 +205,7 @@ static av_cold void deint_cuda_uninit(AVFilterContext
> *ctx)
> av_frame_free(&y->prev);
> av_frame_free(&y->cur);
> av_frame_free(&y->next);
> - ff_cc_fifo_freep(&y->cc_fifo);
> + ff_ccfifo_freep(&y->cc_fifo);
>
> av_buffer_unref(&s->device_ref);
> s->hwctx = NULL;
> @@ -295,7 +295,7 @@ static int config_output(AVFilterLink *link)
> else
> link->frame_rate = ctx->inputs[0]->frame_rate;
>
> - if (!(s->cc_fifo = ff_cc_fifo_alloc(link->frame_rate, ctx))) {
> + if (!(y->cc_fifo = ff_ccfifo_alloc(link->frame_rate, ctx))) {
> av_log(ctx, AV_LOG_ERROR, "Failure to setup CC FIFO queue\n");
> ret = AVERROR(ENOMEM);
> goto exit;
> --
> 1.8.3.1
>
I had literally opened a ticket on the same seconds ago:
https://trac.ffmpeg.org/ticket/10357
Will close as soon as the patch is merged.
More information about the ffmpeg-devel
mailing list