diff --git a/lib/nodes/rtp.c b/lib/nodes/rtp.c index 83dcf7133..6b5d74aae 100644 --- a/lib/nodes/rtp.c +++ b/lib/nodes/rtp.c @@ -340,7 +340,8 @@ int rtp_start(struct node *n) throttle_hook_type = hook_type_lookup("limit_rate"); break; - default: { } + default: + throttle_hook_type = NULL; } if (!throttle_hook_type)