Commit 747d1b87 authored by Stefano Sabatini's avatar 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
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment