Commit 6dec8c07 authored by David Reid's avatar David Reid

Have ma_decoder_read_pcm_frames() return MA_AT_END.

parent 46238b0e
......@@ -50226,6 +50226,10 @@ MA_API ma_result ma_decoder_read_pcm_frames(ma_decoder* pDecoder, void* pFramesO
*pFramesRead = totalFramesReadOut;
}
if (totalFramesReadOut == 0) {
return MA_AT_END;
}
return result;
}
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