diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-24 16:15:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-24 16:52:10 +0100 |
commit | a7305c780b54b587adb73baa7b387bbcd784a1d1 (patch) | |
tree | b3639e509bff837173663d6a456c1ef03792b821 /libavformat/utils.c | |
parent | 3130556c0eb09f3da3c9de6473a97937a4648d62 (diff) | |
download | ffmpeg-a7305c780b54b587adb73baa7b387bbcd784a1d1.tar.gz |
Print the whitelists if entities are not found on them
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index b6457b067f..6bf2fd17a9 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -313,7 +313,7 @@ int av_demuxer_open(AVFormatContext *ic) { int err; if (ic->format_whitelist && av_match_list(ic->iformat->name, ic->format_whitelist, ',') <= 0) { - av_log(ic, AV_LOG_ERROR, "Format not on whitelist\n"); + av_log(ic, AV_LOG_ERROR, "Format not on whitelist \'%s\'\n", ic->format_whitelist); return AVERROR(EINVAL); } @@ -442,7 +442,7 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, s->probe_score = ret; if (s->format_whitelist && av_match_list(s->iformat->name, s->format_whitelist, ',') <= 0) { - av_log(s, AV_LOG_ERROR, "Format not on whitelist\n"); + av_log(s, AV_LOG_ERROR, "Format not on whitelist \'%s\'\n", s->format_whitelist); ret = AVERROR(EINVAL); goto fail; } |