Closed janstary closed 6 years ago
Maybe we could get rid of hsearch altogether: we don't need a full-fledged hash table implementation to remember the SSRCs we have seen and their timestamps.
Hm, we can't simply remove this, because Windows does not have hsearch
.
So if we want to continue using it, we need to check that the system has it,
and bring our own implmementation in case it does not.
Would it be simpler to replace the use of hash tables in rtpplay.c
with a simple list, and not deal with hsearch
at all?
We don't need to bring our own
hsearch(3)
anymore, systems have it nowadays. (And they are newer than our buggy hsearch.c from glibc 2.0 in 1993).