Fix unused and unitialized variable warning

This commit is contained in:
HeroesOfBalkan
2025-01-13 12:16:38 +01:00
committed by David Reid
parent 7e81d3ac80
commit ed5964c9f6
+3
View File
@@ -57825,6 +57825,9 @@ MA_API ma_result ma_data_source_seek_seconds(ma_data_source* pDataSource, float
return result;
}
/* We need PCM frames instead of seconds */
frameCount = secondCount * sampleRate;
result = ma_data_source_seek_pcm_frames(pDataSource, frameCount, &framesSeeked);
/* VC6 doesn't support division between unsigned 64-bit integer and floating point number. Signed integer needed. This shouldn't affect anything in practice */