aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-10-12 12:25:10 +0100
committerMans Rullgard <mans@mansr.com>2011-10-12 12:39:52 +0100
commit318efbfc10a5fcf7daec40d2c3e84dda0f6ad3bc (patch)
treea2aec284b57f188a0000de8d1059a2de7e3d0bf5 /libavcodec
parent07b77fe3871f86b87e35876d38f1969da5ece4b2 (diff)
downloadffmpeg-318efbfc10a5fcf7daec40d2c3e84dda0f6ad3bc.tar.gz
h264: change unsupported bit depth message to error level
Unsupported bit depth is certainly an error the user will want to know about. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 4dbd06375b..b1204c07b8 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3752,7 +3752,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
s->dsp.dct_bits = h->sps.bit_depth_luma > 8 ? 32 : 16;
dsputil_init(&s->dsp, s->avctx);
} else {
- av_log(avctx, AV_LOG_DEBUG, "Unsupported bit depth: %d\n", h->sps.bit_depth_luma);
+ av_log(avctx, AV_LOG_ERROR, "Unsupported bit depth: %d\n", h->sps.bit_depth_luma);
return -1;
}
}