mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
e07b1939e5
commit
ace7f813cd
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user