~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests and a correction for grapheme cluster boundary detection
[disorder]
/
clients
/
playrtp-mem.c
diff --git
a/clients/playrtp-mem.c
b/clients/playrtp-mem.c
index
e101978
..
7465707
100644
(file)
--- a/
clients/playrtp-mem.c
+++ b/
clients/playrtp-mem.c
@@
-63,7
+63,7
@@
static size_t count_free_packets;
static pthread_mutex_t mem_lock = PTHREAD_MUTEX_INITIALIZER;
/** @brief Return a new packet */
static pthread_mutex_t mem_lock = PTHREAD_MUTEX_INITIALIZER;
/** @brief Return a new packet */
-struct packet *new_packet(void) {
+struct packet *
playrtp_
new_packet(void) {
struct packet *p;
pthread_mutex_lock(&mem_lock);
struct packet *p;
pthread_mutex_lock(&mem_lock);
@@
-83,7
+83,7
@@
struct packet *new_packet(void) {
}
/** @brief Free a packet */
}
/** @brief Free a packet */
-void free_packet(struct packet *p) {
+void
playrtp_
free_packet(struct packet *p) {
union free_packet *u = (union free_packet *)p;
pthread_mutex_lock(&mem_lock);
u->next = free_packets;
union free_packet *u = (union free_packet *)p;
pthread_mutex_lock(&mem_lock);
u->next = free_packets;