]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Make sure that shared watchdog count is correctly updated in the rtsp_conn_info struc...
authorMike Brady <mikebrady@eircom.net>
Mon, 3 Dec 2018 16:52:32 +0000 (16:52 +0000)
committerMike Brady <mikebrady@eircom.net>
Mon, 3 Dec 2018 16:52:32 +0000 (16:52 +0000)
player.h

index deb787c6a41e9772665bf78c48a545bcf8a6ed86..e2c6a4c8e9d306cd6e11ed7fdca0e0ac43887876 100644 (file)
--- a/player.h
+++ b/player.h
@@ -87,7 +87,7 @@ typedef struct {
   time_t playstart;
   pthread_t thread, timer_requester, rtp_audio_thread, rtp_control_thread, rtp_timing_thread,
       player_watchdog_thread;
-  int64_t watchdog_bark_time;
+  volatile int64_t watchdog_bark_time;
   // pthread_t *ptp;
 
   // buffers to delete on exit