rtsp: fix SIGSEGV

This commit is contained in:
Kamil Trzcinski
2023-03-03 17:41:38 +01:00
parent 9db8ba5fa5
commit 43f2817442
3 changed files with 58 additions and 6 deletions

View File

@ -3,6 +3,10 @@
typedef struct rtsp_options_s {
bool running;
uint port;
int clients;
int frames;
int truncated;
int dropped;
} rtsp_options_t;
int rtsp_server(rtsp_options_t *options);