aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/raop_output_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-08-31 08:16:55 +0200
committerMax Kellermann <max@duempel.org>2011-08-31 08:16:55 +0200
commit9209ccfa40e47f1fd8571c4463777b0e468dfb65 (patch)
tree52d1f41e1e056b48eb873459de36874b4424fcf9 /src/output/raop_output_plugin.c
parent2525d32e1710884984e5a2b3445b7cff37ea826e (diff)
downloadmpd-9209ccfa40e47f1fd8571c4463777b0e468dfb65.tar.gz
mpd-9209ccfa40e47f1fd8571c4463777b0e468dfb65.tar.xz
mpd-9209ccfa40e47f1fd8571c4463777b0e468dfb65.zip
rtsp_client: allow parameter "kd" to be NULL
When the caller isn't interested in the values.
Diffstat (limited to 'src/output/raop_output_plugin.c')
-rw-r--r--src/output/raop_output_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/raop_output_plugin.c b/src/output/raop_output_plugin.c
index 51d1d629b..6fd5edeac 100644
--- a/src/output/raop_output_plugin.c
+++ b/src/output/raop_output_plugin.c
@@ -756,7 +756,7 @@ raop_output_cancel(void *data)
kd.data = buf;
kd.next = NULL;
exec_request(rd->rtspcl, "FLUSH", NULL, NULL, 1,
- &kd, &(rd->rtspcl->kd), NULL);
+ &kd, NULL, NULL);
g_mutex_unlock(rd->control_mutex);
}
@@ -815,7 +815,7 @@ raop_output_close(void *data)
g_mutex_lock(rd->control_mutex);
exec_request(rd->rtspcl, "TEARDOWN", NULL, NULL, 0,
- NULL, &rd->rtspcl->kd, NULL);
+ NULL, NULL, NULL);
g_mutex_unlock(rd->control_mutex);
rd->started = 0;