nvenc: Fix error log

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
pull/244/merge
Yogender Gupta 8 years ago committed by Luca Barbato
parent da2848375a
commit cbd84b8a51
  1. 2
      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)

Loading…
Cancel
Save