Fix an unaligned access error.

Public issue https://github.com/mackron/miniaudio/issues/499
This commit is contained in:
David Reid
2022-07-20 10:22:58 +10:00
parent fee921e802
commit 71d4667646
+1 -1
View File
@@ -49211,7 +49211,7 @@ static ma_result ma_linear_resampler_get_heap_layout(const ma_linear_resampler_c
}
/* LPF */
pHeapLayout->lpfOffset = pHeapLayout->sizeInBytes;
pHeapLayout->lpfOffset = ma_align_64(pHeapLayout->sizeInBytes);
{
ma_result result;
size_t lpfHeapSizeInBytes;