From 00dbd7c4aee6ad2db8f99cda17b0f5f92ec20720 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 23 Oct 2014 23:09:01 +0200 Subject: [PATCH] avcodec/utils: Print the codec name that is missing on the whitelist Signed-off-by: Michael Niedermayer --- libavcodec/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 36ba118e7f..4ef2ac62d5 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; }