Commit b61fc570 authored by David Reid's avatar David Reid

Fix a bug in ma_data_source_get_cursor/length_in_pcm_frames().

parent 775c624e
......@@ -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;
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