From 747d1b87e253d91c9487aab0340aa9fe509d61ce Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 19 Jun 2008 10:12:15 +0000 Subject: Improve an lclenc.c error message in case of unsupported input pixel format. Originally committed as revision 13811 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/lclenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/lclenc.c') diff --git a/libavcodec/lclenc.c b/libavcodec/lclenc.c index ee9b429430..2d89998c07 100644 --- a/libavcodec/lclenc.c +++ b/libavcodec/lclenc.c @@ -167,7 +167,7 @@ static av_cold int encode_init(AVCodecContext *avctx) avctx->bits_per_sample= 24; break; default: - av_log(avctx, AV_LOG_ERROR, "Format %d not supported\n", avctx->pix_fmt); + av_log(avctx, AV_LOG_ERROR, "Input pixel format %s not supported\n", avcodec_get_pix_fmt_name(avctx->pix_fmt)); return -1; } -- cgit v1.2.3