diff options
author | Nick Brereton <nick@nbrereton.net> | 2010-07-31 22:15:59 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2010-07-31 22:15:59 +0000 |
commit | ace7f813cd4b2bc092bd827f7e8257368781e9bb (patch) | |
tree | 73583c96c381e0959e5875105d0cd1a987a2d6aa /libavcodec | |
parent | e07b1939e537ede247cc2ca61927cf4a89a1f562 (diff) | |
download | ffmpeg-ace7f813cd4b2bc092bd827f7e8257368781e9bb.tar.gz |
dca: fix dynrange coefficient in xch
Patch by Nick Brereton
Originally committed as revision 24637 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c index aa576253a6..e8627a23d9 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -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 */ |