Commit 15cd2f8e authored by Timo Rothenpieler's avatar Timo Rothenpieler

avcodec/nvenc: Remove unused parameter

parent c3413a71
......@@ -1081,7 +1081,7 @@ static av_cold int nvenc_encode_close(AVCodecContext *avctx)
return 0;
}
static int process_output_surface(AVCodecContext *avctx, AVPacket *pkt, AVFrame *coded_frame, NvencOutputSurface *tmpoutsurf)
static int process_output_surface(AVCodecContext *avctx, AVPacket *pkt, NvencOutputSurface *tmpoutsurf)
{
NvencContext *ctx = avctx->priv_data;
NvencDynLoadFunctions *dl_fn = &ctx->nvenc_dload_funcs;
......@@ -1376,7 +1376,7 @@ static int nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if (ctx->output_surface_ready_queue.count) {
tmpoutsurf = out_surf_queue_dequeue(&ctx->output_surface_ready_queue);
res = process_output_surface(avctx, pkt, avctx->coded_frame, tmpoutsurf);
res = process_output_surface(avctx, pkt, tmpoutsurf);
if (res)
return res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment