fix possible segfault in rtpproxy-ng