Fix a bug in ma_data_source_get_cursor/length_in_pcm_frames().

This commit is contained in:
David Reid
2020-08-14 10:57:53 +10:00
parent 775c624e66
commit b61fc570a2
+2 -2
View File
@@ -41327,7 +41327,7 @@ MA_API ma_result ma_data_source_get_cursor_in_pcm_frames(ma_data_source* pDataSo
return MA_INVALID_ARGS;
}
pCursor = 0;
*pCursor = 0;
if (pCallbacks == NULL) {
return MA_INVALID_ARGS;
@@ -41348,7 +41348,7 @@ MA_API ma_result ma_data_source_get_length_in_pcm_frames(ma_data_source* pDataSo
return MA_INVALID_ARGS;
}
pLength = 0;
*pLength = 0;
if (pCallbacks == NULL) {
return MA_INVALID_ARGS;