mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
Remove unnecessary close body and close head
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
This commit is contained in:
parent
066eca8638
commit
16d90afcd2
1 changed files with 1 additions and 7 deletions
|
@ -219,16 +219,10 @@ static void sink_handle_set_parameter(struct ctl_sink *s,
|
|||
}
|
||||
}
|
||||
|
||||
rtsp_message_exit_header(m);
|
||||
rtsp_message_exit_body(m);
|
||||
|
||||
/* M5 */
|
||||
r = rtsp_message_read(m, "{<s>}", "wfd_trigger_method", &trigger);
|
||||
if (r < 0) {
|
||||
rtsp_message_exit_header(m);
|
||||
rtsp_message_exit_body(m);
|
||||
if (r < 0)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!strcmp(trigger, "SETUP")) {
|
||||
if (!s->url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue