nvenc: Fix error log

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
Yogender Gupta 2016-10-06 14:44:26 +05:30 committed by Luca Barbato
parent da2848375a
commit cbd84b8a51
1 changed files with 1 additions and 1 deletions

View File

@ -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)