Commit 47020e40 authored by Guillaume Prieur's avatar Guillaume Prieur Committed by David Reid

Fix seek origin conversion in ma_mp3_dr_callback__seek

parent 02873ca3
...@@ -64357,8 +64357,11 @@ static ma_bool32 ma_mp3_dr_callback__seek(void* pUserData, int offset, ma_dr_mp3 ...@@ -64357,8 +64357,11 @@ static ma_bool32 ma_mp3_dr_callback__seek(void* pUserData, int offset, ma_dr_mp3
MA_ASSERT(pMP3 != NULL); MA_ASSERT(pMP3 != NULL);
if (origin == ma_dr_mp3_seek_origin_start) {
maSeekOrigin = ma_seek_origin_start; maSeekOrigin = ma_seek_origin_start;
if (origin == ma_dr_mp3_seek_origin_current) { } else if (origin == ma_dr_mp3_seek_origin_end) {
maSeekOrigin = ma_seek_origin_end;
} else {
maSeekOrigin = ma_seek_origin_current; maSeekOrigin = ma_seek_origin_current;
} }
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