提交 747d1b87 编写于 作者: S Stefano Sabatini

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
上级 73ff4f83
...@@ -167,7 +167,7 @@ static av_cold int encode_init(AVCodecContext *avctx) ...@@ -167,7 +167,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
avctx->bits_per_sample= 24; avctx->bits_per_sample= 24;
break; break;
default: 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; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册