You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/libdcadec: honor -err_detect option
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
de12aa51b6
commit
ff6dd5851b
@@ -225,6 +225,9 @@ static av_cold int dcadec_init(AVCodecContext *avctx)
|
|||||||
if (avctx->flags & AV_CODEC_FLAG_BITEXACT)
|
if (avctx->flags & AV_CODEC_FLAG_BITEXACT)
|
||||||
flags |= DCADEC_FLAG_CORE_BIT_EXACT;
|
flags |= DCADEC_FLAG_CORE_BIT_EXACT;
|
||||||
|
|
||||||
|
if (avctx->err_recognition & AV_EF_EXPLODE)
|
||||||
|
flags |= DCADEC_FLAG_STRICT;
|
||||||
|
|
||||||
if (avctx->request_channel_layout) {
|
if (avctx->request_channel_layout) {
|
||||||
switch (avctx->request_channel_layout) {
|
switch (avctx->request_channel_layout) {
|
||||||
case AV_CH_LAYOUT_STEREO:
|
case AV_CH_LAYOUT_STEREO:
|
||||||
|
Reference in New Issue
Block a user