dca: fix dynrange coefficient in xch

Patch by Nick Brereton

Originally committed as revision 24637 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Nick Brereton 2010-07-31 22:15:59 +00:00 committed by Benjamin Larsson
parent e07b1939e5
commit ace7f813cd
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ static int dca_subframe_header(DCAContext * s, int base_channel, int block_index
}
/* Dynamic range coefficient */
if (s->dynrange)
if (!base_channel && s->dynrange)
s->dynrange_coef = get_bits(&s->gb, 8);
/* Side information CRC check word */