diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 36ba118e7f2f56dadbf9f4bac16c26032172efb3..4ef2ac62d57e9f782fab27bbd5fb0dd9ef0cf006 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1386,7 +1386,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code goto free_and_end; if (avctx->codec_whitelist && av_match_list(codec->name, avctx->codec_whitelist, ',') <= 0) { - av_log(avctx, AV_LOG_ERROR, "Codec not on whitelist\n"); + av_log(avctx, AV_LOG_ERROR, "Codec (%s) not on whitelist\n", codec->name); ret = AVERROR(EINVAL); goto free_and_end; }