Browse Source

dca: fix dynrange coefficient in xch

Patch by Nick Brereton

Originally committed as revision 24637 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Nick Brereton Benjamin Larsson 15 years ago
parent
commit
ace7f813cd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dca.c

+ 1
- 1
libavcodec/dca.c View File

@@ -691,7 +691,7 @@ static int dca_subframe_header(DCAContext * s, int base_channel, int block_index
} }


/* Dynamic range coefficient */ /* Dynamic range coefficient */
if (s->dynrange)
if (!base_channel && s->dynrange)
s->dynrange_coef = get_bits(&s->gb, 8); s->dynrange_coef = get_bits(&s->gb, 8);


/* Side information CRC check word */ /* Side information CRC check word */


Loading…
Cancel
Save