From 341a1f8d5d88640d1594e339285630149ad77b5e Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Wed, 3 Dec 2025 16:13:38 +0000 Subject: [PATCH] Move a function so that it can be build without the FFmpeg library, duh. --- rtsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtsp.c b/rtsp.c index 6d14ae87..ad15675e 100644 --- a/rtsp.c +++ b/rtsp.c @@ -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