diff lclenc.c @ 7068:6497251e2fde libavcodec

Improve an lclenc.c error message in case of unsupported input pixel format.
author stefano
date Thu, 19 Jun 2008 10:12:15 +0000
parents e943e1409077
children 4525dcd81357
line wrap: on
line diff
--- a/lclenc.c	Thu Jun 19 10:02:39 2008 +0000
+++ b/lclenc.c	Thu Jun 19 10:12:15 2008 +0000
@@ -167,7 +167,7 @@
             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;
     }