summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/lclenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lclenc.c b/libavcodec/lclenc.c
index ee9b429430..2d89998c07 100644
--- a/libavcodec/lclenc.c
+++ b/libavcodec/lclenc.c
@@ -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;
}