Commit 8d580793 authored by David Reid's avatar David Reid

Fix a bug reported by MSVC's static analysis.

parent dedcba2a
......@@ -7425,7 +7425,7 @@ MA_API ma_result ma_spatializer_init(const ma_spatializer_config* pConfig, ma_sp
MA_API ma_result ma_spatializer_process_pcm_frames(ma_spatializer* pSpatializer, void* pFramesOut, const void* pFramesIn, ma_uint64 frameCount)
{
if (pSpatializer || pFramesOut == NULL || pFramesIn) {
if (pSpatializer == NULL || pFramesOut == NULL || pFramesIn == NULL) {
return MA_INVALID_ARGS;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment