From 9b4badb09b3fa2f5ea665d94a1cb189df5ded318 Mon Sep 17 00:00:00 2001 From: Mahendra M Date: Sat, 1 Sep 2012 19:05:44 +0530 Subject: [PATCH] Fix libx264 profile listing Signed-off-by: Michael Niedermayer --- libavcodec/libx264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 45fe2acd9d..6eddf7fce7 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -453,7 +453,7 @@ static av_cold int X264_init(AVCodecContext *avctx) av_log(avctx, AV_LOG_ERROR, "Error setting profile %s.\n", x4->profile); av_log(avctx, AV_LOG_INFO, "Possible profiles:"); for (i = 0; x264_profile_names[i]; i++) - av_log(avctx, AV_LOG_INFO, " %s", x264_preset_names[i]); + av_log(avctx, AV_LOG_INFO, " %s", x264_profile_names[i]); av_log(avctx, AV_LOG_INFO, "\n"); return AVERROR(EINVAL); }