diff --git a/Plugins/minimp3/MP3Decoder.m b/Plugins/minimp3/MP3Decoder.m index d7134fc66..d2f245833 100644 --- a/Plugins/minimp3/MP3Decoder.m +++ b/Plugins/minimp3/MP3Decoder.m @@ -290,6 +290,9 @@ static int mp3_seek_callback(uint64_t position, void *user_data) { if(error < 0) { return -1; } + samples_filled = 0; + } else { + return -1; } seconds = (double)frame / (double)_decoder_info.hz;