mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
73ff4f8344
commit
747d1b87e2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user