[FFmpeg-cvslog] avcodec/utils: Print the codec name that is missing on the whitelist

Michael Niedermayer git at videolan.org
Thu Oct 23 23:32:08 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Oct 23 23:09:01 2014 +0200| [00dbd7c4aee6ad2db8f99cda17b0f5f92ec20720] | committer: Michael Niedermayer

avcodec/utils: Print the codec name that is missing on the whitelist

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=00dbd7c4aee6ad2db8f99cda17b0f5f92ec20720
---

 libavcodec/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 36ba118..4ef2ac6 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;
     }



More information about the ffmpeg-cvslog mailing list