[FFmpeg-cvslog] h264: change unsupported bit depth message to error level
Mans Rullgard
git at videolan.org
Thu Oct 13 06:01:45 CEST 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Wed Oct 12 12:25:10 2011 +0100| [318efbfc10a5fcf7daec40d2c3e84dda0f6ad3bc] | committer: Mans Rullgard
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 at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=318efbfc10a5fcf7daec40d2c3e84dda0f6ad3bc
---
libavcodec/h264.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 4dbd063..b1204c0 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;
}
}
More information about the ffmpeg-cvslog
mailing list