1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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
This commit is contained in:
Stefano Sabatini 2008-06-19 10:12:15 +00:00
parent 73ff4f8344
commit 747d1b87e2

View File

@ -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;
}