Commit b5c80811 authored by jbr's avatar jbr

Change an error to a warning to support broken AC-3 files known to exist.

Fixes Issue 1426.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20110 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a5ac197b
...@@ -941,8 +941,8 @@ static int decode_audio_block(AC3DecodeContext *s, int blk) ...@@ -941,8 +941,8 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
for(bnd=0; bnd<s->num_rematrixing_bands; bnd++) for(bnd=0; bnd<s->num_rematrixing_bands; bnd++)
s->rematrixing_flags[bnd] = get_bits1(gbc); s->rematrixing_flags[bnd] = get_bits1(gbc);
} else if (!blk) { } else if (!blk) {
av_log(s->avctx, AV_LOG_ERROR, "new rematrixing strategy must be present in block 0\n"); av_log(s->avctx, AV_LOG_WARNING, "Warning: new rematrixing strategy not present in block 0\n");
return -1; s->num_rematrixing_bands = 0;
} }
} }
......
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