From cbd84b8a51aa656d71b7d6ed44bd89041ff081a8 Mon Sep 17 00:00:00 2001 From: Yogender Gupta Date: Thu, 6 Oct 2016 14:44:26 +0530 Subject: [PATCH] nvenc: Fix error log Signed-off-by: Luca Barbato --- libavcodec/nvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 9c35bd0d25..d5bfd74e30 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -928,7 +928,7 @@ static int nvenc_setup_encoder(AVCodecContext *avctx) ret = nv->nvEncInitializeEncoder(ctx->nvenc_ctx, &ctx->params); if (ret != NV_ENC_SUCCESS) - return nvenc_print_error(avctx, ret, "Cannot initialize the decoder"); + return nvenc_print_error(avctx, ret, "InitializeEncoder failed"); cpb_props = ff_add_cpb_side_data(avctx); if (!cpb_props)