Commit a027bdf1 authored by Max Kellermann's avatar Max Kellermann

decoder_thread: initialize decoder_control.quit

If left uninitialized, then the decoder thread quits spuriously.
parent c043bf0f
......@@ -333,6 +333,8 @@ decoder_thread_start(struct decoder_control *dc)
assert(dc->thread == NULL);
dc->quit = false;
dc->thread = g_thread_create(decoder_task, dc, true, &e);
if (dc->thread == NULL)
g_error("Failed to spawn decoder task: %s", e->message);
......
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