[FFmpeg-cvslog] Be more verbose about unsupported H.264 bit-depths.

Carl Eugen Hoyos git at videolan.org
Sun Oct 30 00:04:06 CEST 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Oct 29 23:39:02 2011 +0200| [0387ad892cdfa56e5a80ca25ee23e9d39de30e13] | committer: Carl Eugen Hoyos

Be more verbose about unsupported H.264 bit-depths.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0387ad892cdfa56e5a80ca25ee23e9d39de30e13
---

 libavcodec/h264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index e7f6f73..7792d03 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;
             }



More information about the ffmpeg-cvslog mailing list