Fix rolled up version of lpc_restore_signal_wide

This fixes https://github.com/xiph/flac/issues/393
This commit is contained in:
Martijn van Beurden 2022-07-14 20:18:05 +02:00
parent d3b8947b73
commit 99885d3d64

View File

@ -1214,7 +1214,7 @@ void FLAC__lpc_restore_signal_wide(const FLAC__int32 * flac_restrict residual, u
break;
}
#endif
*(data++) = *(r++) + (FLAC__int32)(sum >> lp_quantization);
*(data++) = (FLAC__int32)(*(r++) + (sum >> lp_quantization));
}
}
#else /* fully unrolled version for normal use */