]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/utils.c
avformat/hls: Check that filename is not "" in probe before checking its extension
[ffmpeg] / libavcodec / utils.c
index 63439bb89248d227a56fda5e77927d8dc983f38d..fb6c5f450e4b27129c03cca37bb9540d751002d2 100644 (file)
@@ -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;
     }