diff options
author | foo86 <foobaz86@gmail.com> | 2015-12-07 18:48:53 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-08 03:37:04 +0100 |
commit | ff6dd5851bffe9518f2e814a2f4892f0aa4fd6f9 (patch) | |
tree | 7c931af6683f886db1a78a69269efc413da28c14 | |
parent | de12aa51b6bfa563656b9b510c2c8a88e858dade (diff) | |
download | ffmpeg-ff6dd5851bffe9518f2e814a2f4892f0aa4fd6f9.tar.gz |
avcodec/libdcadec: honor -err_detect option
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/libdcadec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c index 8e3bc616bd..79fa3316d6 100644 --- a/libavcodec/libdcadec.c +++ b/libavcodec/libdcadec.c @@ -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: |