# HG changeset patch # User Mychaela Falconia # Date 1734685284 0 # Node ID 1485211d4492318a5f9b61fc1591ef6374b3a937 # Parent 781f491f20dda365f0c020970681c436fb2052a8 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. diff -r 781f491f20dd -r 1485211d4492 src/twjit.c --- 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)); }