diff options
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/mod_plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inputPlugins/mod_plugin.c b/src/inputPlugins/mod_plugin.c index 6adb5e19f..0ac72b838 100644 --- a/src/inputPlugins/mod_plugin.c +++ b/src/inputPlugins/mod_plugin.c @@ -148,6 +148,9 @@ static mod_Data *mod_open(char *path) if (!(moduleHandle = Player_Load(path, 128, 0))) return NULL; + /* Prevent module from looping forever */ + moduleHandle->loop = 0; + data = xmalloc(sizeof(mod_Data)); data->audio_buffer = xmalloc(MIKMOD_FRAME_SIZE); |