diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-06-19 10:12:15 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-06-19 10:12:15 +0000 |
commit | 747d1b87e253d91c9487aab0340aa9fe509d61ce (patch) | |
tree | ab46b2de9f520bf379aed72bc3d1d9b8e075fcbc /libavcodec/lclenc.c | |
parent | 73ff4f83446ab908b7cc19b5bba5e4197f605361 (diff) | |
download | ffmpeg-747d1b87e253d91c9487aab0340aa9fe509d61ce.tar.gz |
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
Diffstat (limited to 'libavcodec/lclenc.c')
-rw-r--r-- | libavcodec/lclenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |