diff options
author | Max Kellermann <max@duempel.org> | 2011-08-31 20:19:36 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-08-31 20:19:36 +0200 |
commit | 140162191388063e41e33b53d4533e07529df870 (patch) | |
tree | 0d5aa042c35f82aa9a0fb9b9ec67b14059d336d9 /src/rtsp_client.c | |
parent | 3c034b0a0c057f8be0ee1a8ad956b3e6eed0463a (diff) | |
download | mpd-140162191388063e41e33b53d4533e07529df870.tar.gz mpd-140162191388063e41e33b53d4533e07529df870.tar.xz mpd-140162191388063e41e33b53d4533e07529df870.zip |
output/raop: remove Audio-Jack-Status check
The value of this is not used, the code is commented out - let's get
rid of it.
Diffstat (limited to '')
-rw-r--r-- | src/rtsp_client.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/rtsp_client.c b/src/rtsp_client.c index d05efa619..a808ef207 100644 --- a/src/rtsp_client.c +++ b/src/rtsp_client.c @@ -681,11 +681,15 @@ rtspcl_setup(struct rtspcl_data *rtspcld, struct key_data **kd, rval = true; erexit: g_free(buf); - if (!rval) { + + if (!rval || kd == NULL) { free_kd(rkd); rkd = NULL; } - *kd = rkd; + + if (kd != NULL) + *kd = rkd; + return rval; } |