From 0afadb6c19e7a864de39f290b82a5e2c62f57346 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 8 Jan 2019 22:53:04 +0100 Subject: [PATCH] rtp: add missing stop handler --- lib/nodes/rtp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/nodes/rtp.c b/lib/nodes/rtp.c index e3571fd31..e0039fd23 100644 --- a/lib/nodes/rtp.c +++ b/lib/nodes/rtp.c @@ -211,6 +211,11 @@ static void * th_func(void *arg) return NULL; } +static void stop_handler(int sig, siginfo_t *si, void *ctx) +{ + re_cancel(); +} + int rtp_type_start() { int ret; @@ -253,6 +258,7 @@ int rtp_type_stop() } libre_close(); + return ret; }