From 0387ad892cdfa56e5a80ca25ee23e9d39de30e13 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 29 Oct 2011 23:39:02 +0200 Subject: [PATCH] Be more verbose about unsupported H.264 bit-depths. --- libavcodec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index e7f6f73818..7792d03ce7 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2741,7 +2741,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ s->dsp.dct_bits = h->sps.bit_depth_luma > 8 ? 32 : 16; dsputil_init(&s->dsp, s->avctx); } else { - av_log(s->avctx, AV_LOG_DEBUG, "Unsupported bit depth: %d chroma_idc: %d\n", + av_log(s->avctx, AV_LOG_ERROR, "Unsupported bit depth: %d chroma_idc: %d\n", h->sps.bit_depth_luma, h->sps.chroma_format_idc); return -1; }