Fix an error if built without metadata support

This commit is contained in:
Mike Brady
2026-05-01 16:09:58 +01:00
parent 4f2a64fa39
commit eb82fa32b7
+2
View File
@@ -2023,7 +2023,9 @@ void handle_command(rtsp_conn_info *conn, rtsp_message *req,
// we are not going to load the plist here because we don't wamt
// to incur the memory and processing cost. So we'll just send it to the
// metadata handling code and it can be dealt with there.
#ifdef CONFIG_METADATA
send_metadata('ssnc', 'copl', req->content, req->contentlength, req, 1); // COmmand PList (and release 'req' afterwards)
#endif
/*
plist_t command_dict = NULL;
plist_from_memory(req->content, req->contentlength, &command_dict);