diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-23 23:09:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-23 23:30:41 +0200 |
commit | 00dbd7c4aee6ad2db8f99cda17b0f5f92ec20720 (patch) | |
tree | 333de7030d93b331798c06cf0f138f73b0a3df75 | |
parent | a1d06a0121cb2efaea238e0f8fa4b0099231e211 (diff) | |
download | ffmpeg-00dbd7c4aee6ad2db8f99cda17b0f5f92ec20720.tar.gz |
avcodec/utils: Print the codec name that is missing on the whitelist
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |