mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
avfilter/vf_yadif_cuda: fix build
Identical patches were sent by Leo Izen and Devin Heitmueller.
This commit is contained in:
parent
21696f6122
commit
869c06886d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user