From a678f5c99bfa5c964aac314be425af7b0791fd2b Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 17 Jul 2010 08:27:36 +0200 Subject: [PATCH] Relax Audio-Latency header check Older G-only AirPort Express devices do not have an Audio-Latency header in their RECORD reply. --- src/raop.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/raop.c b/src/raop.c index 406fdba7..9bdc820c 100644 --- a/src/raop.c +++ b/src/raop.c @@ -2500,13 +2500,9 @@ raop_cb_startup_record(struct evrtsp_request *req, void *arg) /* Audio latency */ param = evrtsp_find_header(req->input_headers, "Audio-Latency"); if (!param) - { - DPRINTF(E_LOG, L_RAOP, "Missing Audio-Latency header in RECORD reply\n"); - - goto cleanup; - } - - DPRINTF(E_DBG, L_RAOP, "RAOP audio latency is %s\n", param); + DPRINTF(E_INFO, L_RAOP, "RECORD reply from %s did not have an Audio-Latency header\n", rs->devname); + else + DPRINTF(E_DBG, L_RAOP, "RAOP audio latency is %s\n", param); rs->state = RAOP_RECORD;