Commit ace7f813 authored by Nick Brereton's avatar Nick Brereton Committed by Benjamin Larsson

dca: fix dynrange coefficient in xch

Patch by Nick Brereton

Originally committed as revision 24637 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e07b1939
......@@ -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 */
......
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