audiod: Avoid starting the wrong decoder on server restarts.
[paraslash.git] / audiod.c
index d39f0f5..1e8591f 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -949,6 +949,7 @@ static void close_stat_pipe(void)
        stat_task->length_seconds = 0;
        stat_task->offset_seconds = 0;
        stat_task->vss_status = 0;
+       stat_task->current_audio_format_num = -1;
        audiod_status_dump();
 }