diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 4dbd06375b81acee335a1b33f09a27d6ccfcd7de..b1204c07b862e490a8e8110f80543f055b8df1d0 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; } }