changeset 39:1485211d4492

twjit: don't clear stats in twrtp_jibuf_reset() This function needs to reset all operating state of twjit to initial, but we should not clear any of our stats counters: those counters are across the lifetime of the RTP endpoint, including stops and restarts for call hold etc.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Dec 2024 09:01:24 +0000
parents 781f491f20dd
children d73b6ec27ae6
files src/twjit.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/twjit.c	Thu Dec 19 01:10:08 2024 +0000
+++ b/src/twjit.c	Fri Dec 20 09:01:24 2024 +0000
@@ -70,5 +70,4 @@
 	twjit->sb[0].depth = 0;
 	twjit->sb[1].depth = 0;
 	twjit->got_first_packet = false;
-	memset(&twjit->stats, 0, sizeof(struct twrtp_jibuf_stats));
 }