Move a function so that it can be build without the FFmpeg library, duh.

This commit is contained in:
Mike Brady
2025-12-03 16:13:38 +00:00
parent 93bafe304a
commit 341a1f8d5d
+2 -2
View File
@@ -1324,7 +1324,8 @@ void handle_record_2(rtsp_conn_info *conn, __attribute((unused)) rtsp_message *r
msg_add_header(resp, "Audio-Latency", "0");
resp->respcode = 200;
}
#else
#endif
void handle_record(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp) {
debug(2, "Connection %d: RECORD", conn->connection_number);
if ((conn != NULL) && (principal_conn == conn)) {
@@ -1374,7 +1375,6 @@ void handle_record(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp)
resp->respcode = 451;
}
}
#endif
#ifdef CONFIG_AIRPLAY_2