mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 12:40:01 +00:00
Don't restrict reverse decorrelation to both coded channels. It is also used for mono data.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
29ec5c1102
commit
8501bed08c
@ -793,7 +793,7 @@ static void revert_inter_ch_decorr(WmallDecodeCtx *s, int tile_size)
|
||||
{
|
||||
if (s->num_channels != 2)
|
||||
return;
|
||||
else if (s->is_channel_coded[0] && s->is_channel_coded[1]) {
|
||||
else {
|
||||
int icoef;
|
||||
for (icoef = 0; icoef < tile_size; icoef++) {
|
||||
s->channel_residues[0][icoef] -= s->channel_residues[1][icoef] >> 1;
|
||||
|
Loading…
Reference in New Issue
Block a user