summaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-01-24 16:15:24 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-01-24 16:52:10 +0100
commita7305c780b54b587adb73baa7b387bbcd784a1d1 (patch)
treeb3639e509bff837173663d6a456c1ef03792b821 /libavcodec/utils.c
parent3130556c0eb09f3da3c9de6473a97937a4648d62 (diff)
downloadffmpeg-streaming-a7305c780b54b587adb73baa7b387bbcd784a1d1.zip
ffmpeg-streaming-a7305c780b54b587adb73baa7b387bbcd784a1d1.tar.gz
Print the whitelists if entities are not found on them
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 63439bb..fb6c5f4 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1234,7 +1234,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 (%s) not on whitelist\n", codec->name);
+ av_log(avctx, AV_LOG_ERROR, "Codec (%s) not on whitelist \'%s\'\n", codec->name, avctx->codec_whitelist);
ret = AVERROR(EINVAL);
goto free_and_end;
}
OpenPOWER on IntegriCloud