From c55b6c4d7d86e509e95b56e334fb5ed8e18724fd Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Mon, 4 Mar 2024 17:39:39 +0200 Subject: [PATCH] lint fix --- src/ustreamer/stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ustreamer/stream.c b/src/ustreamer/stream.c index 419e8affe..d3558e75c 100644 --- a/src/ustreamer/stream.c +++ b/src/ustreamer/stream.c @@ -83,7 +83,7 @@ static us_hw_buffer_s *_get_latest_hw(us_queue_s *queue); static bool _stream_has_any_clients(us_stream_s *stream); static int _stream_init_loop(us_stream_s *stream); -static void _stream_expose_http(us_stream_s *stream, us_frame_s *frame); +static void _stream_expose_http(us_stream_s *stream, const us_frame_s *frame); static void _stream_check_suicide(us_stream_s *stream); @@ -482,7 +482,7 @@ static int _stream_init_loop(us_stream_s *stream) { return -1; } -static void _stream_expose_http(us_stream_s *stream, us_frame_s *frame) { +static void _stream_expose_http(us_stream_s *stream, const us_frame_s *frame) { us_stream_runtime_s *const run = stream->run; int ri; while ((ri = us_ring_producer_acquire(run->http_jpeg_ring, 0)) < 0) {