# HG changeset patch # User lorenm # Date 1218670253 0 # Node ID ef456ee01ea248cdaec3871a4a4c9ac9d529ddc2 # Parent be6d3164312895270cc6bfb37ac9a076ac3dd5b4 don't mark the delayed samples for upmixing if they haven't been downmixed diff -r be6d31643128 -r ef456ee01ea2 ac3dec.c --- a/ac3dec.c Wed Aug 13 23:30:28 2008 +0000 +++ b/ac3dec.c Wed Aug 13 23:30:53 2008 +0000 @@ -1025,7 +1025,7 @@ ac3_downmix(s, s->transform_coeffs+1); } - if(!s->downmixed) { + if(downmix_output && !s->downmixed) { s->downmixed = 1; // FIXME delay[] is half the size of the other downmixes ac3_downmix(s, s->delay);