summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2015-07-25 23:26:42 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2015-07-25 23:43:16 +0200
commit15cd2f8ea9f66cf491a27ee7ae0461f5590240f6 (patch)
tree82aa60c8e4885936daefc2d34ecd1244ee2e4052 /libavcodec/nvenc.c
parentc3413a712ac23d74a7a0474a6100753d538b79cd (diff)
avcodec/nvenc: Remove unused parameter
Diffstat (limited to 'libavcodec/nvenc.c')
-rw-r--r--libavcodec/nvenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 0589cf1daa..6e4d6310e9 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -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;