Commit ac526dbd authored by Fabian Keil's avatar Fabian Keil Committed by Felix Paul Kühne

audioscrobbler: prevent an endless loop inside the main loop

Fixes the clang complaint: The right operand of '<' is a garbage value

This might fix #6286.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
(cherry picked from commit 8cdc20d360fbefa12671abf8ff30c41384d110c7)
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 64a2b485
......@@ -768,7 +768,7 @@ static void Run(intf_thread_t *p_intf)
bool b_handshaked = false;
/* data about audioscrobbler session */
mtime_t next_exchange; /**< when can we send data */
mtime_t next_exchange = -1; /**< when can we send data */
unsigned int i_interval; /**< waiting interval (secs)*/
intf_sys_t *p_sys = p_intf->p_sys;
......
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