History

h264: change unsupported bit depth message to error level

Unsupported bit depth is certainly an error the user will want to know about.

Mans Rullgard committed 15 years ago

Commit 318efbf1 parent 07b77fe1 file · +1 −1Browse files

Unified · Split

libavcodec/h264.c+1−1
@@ -3752,7 +3752,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){ · 3751 unmodified lines
3752 s->dsp.dct_bits = h->sps.bit_depth_luma > 8 ? 32 : 16;3752 s->dsp.dct_bits = h->sps.bit_depth_luma > 8 ? 32 : 16;
3753 dsputil_init(&s->dsp, s->avctx);3753 dsputil_init(&s->dsp, s->avctx);
3754 } else {3754 } else {
3755 av_log(avctx, AV_LOG_DEBUG, "Unsupported bit depth: %d\n", h->sps.bit_depth_luma);3755 av_log(avctx, AV_LOG_ERROR, "Unsupported bit depth: %d\n", h->sps.bit_depth_luma);
3756 return -1;3756 return -1;
3757 }3757 }
3758 }3758 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t