[FFmpeg-cvslog] avcodec/nvenc: Remove unused parameter

Timo Rothenpieler git at videolan.org
Sat Jul 25 23:44:09 CEST 2015


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Sat Jul 25 23:26:42 2015 +0200| [15cd2f8ea9f66cf491a27ee7ae0461f5590240f6] | committer: Timo Rothenpieler

avcodec/nvenc: Remove unused parameter

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=15cd2f8ea9f66cf491a27ee7ae0461f5590240f6
---

 libavcodec/nvenc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 0589cf1..6e4d631 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;



More information about the ffmpeg-cvslog mailing list