mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00: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