changeset 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 4630168a70d5
children 92bcfa9ba977
files lclenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
     }