]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
clang
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 13 May 2021 19:59:38 +0000 (20:59 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Thu, 13 May 2021 19:59:38 +0000 (20:59 +0100)
player.c
rtp.c

index 1a4d855eb79cbc1fb7b5ce4dab534383156d7d4b..5996c5c4cbf5491253750ca78361c6238c135881 100644 (file)
--- a/player.c
+++ b/player.c
@@ -2305,7 +2305,7 @@ void *player_thread_func(void *arg) {
                 debug(1, "Large positive sync error of: %" PRId64 " frames (%f seconds).",
                       sync_error, (sync_error * 1.0) / config.output_rate);
                 int64_t local_frames_to_drop = sync_error / conn->output_sample_ratio;
-                uint32_t frames_to_drop_sized = local_frames_to_drop;               
+                uint32_t frames_to_drop_sized = local_frames_to_drop;
                 do_flush(inframe->given_timestamp + frames_to_drop_sized, conn);
               } else if ((sync_error < 0) && ((-sync_error) > filler_length)) {
                 debug(1,
diff --git a/rtp.c b/rtp.c
index 22424632a9b04406d86ae5b20d1e343dfa4e72cd..a78a1156c7250e53d10ced9cfea4f2f527d6ecd7 100644 (file)
--- a/rtp.c
+++ b/rtp.c
@@ -1274,7 +1274,8 @@ int get_ptp_anchor_local_time_info(rtsp_conn_info *conn, uint32_t *anchorRTP,
   if ((clock_status_t)response != conn->clock_status) {
     switch (response) {
     case clock_ok:
-      debug(1, "Connection %d: NQPTP new master clock % " PRIx64 ".", conn->connection_number, actual_clock_id);
+      debug(1, "Connection %d: NQPTP new master clock % " PRIx64 ".", conn->connection_number,
+            actual_clock_id);
       break;
     case clock_service_unavailable:
       debug(1, "Connection %d: NQPTP clock is not available.", conn->connection_number);
@@ -1311,7 +1312,7 @@ int get_ptp_anchor_local_time_info(rtsp_conn_info *conn, uint32_t *anchorRTP,
     }
     conn->clock_status = response;
   }
-  
+
   if ((response != clock_ok) && (conn->last_anchor_info_is_valid != 0)) {
     if (anchorRTP != NULL)
       *anchorRTP = conn->anchor_rtptime;