[FFmpeg-cvslog] r13811 - trunk/libavcodec/lclenc.c
stefano
subversion
Thu Jun 19 12:12:15 CEST 2008
Author: stefano
Date: Thu Jun 19 12:12:15 2008
New Revision: 13811
Log:
Improve an lclenc.c error message in case of unsupported input pixel
format.
Modified:
trunk/libavcodec/lclenc.c
Modified: trunk/libavcodec/lclenc.c
==============================================================================
--- trunk/libavcodec/lclenc.c (original)
+++ trunk/libavcodec/lclenc.c Thu Jun 19 12:12:15 2008
@@ -167,7 +167,7 @@ static av_cold int encode_init(AVCodecCo
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;
}
More information about the ffmpeg-cvslog
mailing list