Commit 5747434b authored by lorenm's avatar lorenm

don't mark the delayed samples for upmixing if they haven't been downmixed


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14741 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c374d37e
...@@ -1025,7 +1025,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk) ...@@ -1025,7 +1025,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
ac3_downmix(s, s->transform_coeffs+1); ac3_downmix(s, s->transform_coeffs+1);
} }
if(!s->downmixed) { if(downmix_output && !s->downmixed) {
s->downmixed = 1; s->downmixed = 1;
// FIXME delay[] is half the size of the other downmixes // FIXME delay[] is half the size of the other downmixes
ac3_downmix(s, s->delay); ac3_downmix(s, s->delay);
......
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