Browse Source

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

tags/n0.9
Carl Eugen Hoyos 14 years ago
parent
commit
0387ad892c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h264.c

+ 1
- 1
libavcodec/h264.c View File

@@ -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; s->dsp.dct_bits = h->sps.bit_depth_luma > 8 ? 32 : 16;
dsputil_init(&s->dsp, s->avctx); dsputil_init(&s->dsp, s->avctx);
} else { } 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); h->sps.bit_depth_luma, h->sps.chroma_format_idc);
return -1; return -1;
} }


Loading…
Cancel
Save