Commit ff0cfcb6 authored by stefano's avatar stefano

Improve an lclenc.c error message in case of unsupported input pixel

format.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13811 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6ac7c4e7
......@@ -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;
}
......
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