Commit ff6dd585 authored by foo86's avatar foo86 Committed by Michael Niedermayer

avcodec/libdcadec: honor -err_detect option

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent de12aa51
......@@ -225,6 +225,9 @@ static av_cold int dcadec_init(AVCodecContext *avctx)
if (avctx->flags & AV_CODEC_FLAG_BITEXACT)
flags |= DCADEC_FLAG_CORE_BIT_EXACT;
if (avctx->err_recognition & AV_EF_EXPLODE)
flags |= DCADEC_FLAG_STRICT;
if (avctx->request_channel_layout) {
switch (avctx->request_channel_layout) {
case AV_CH_LAYOUT_STEREO:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment