From 82350aced53bf76dce581b1264512d61ddafc768 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Fri, 24 Aug 2018 07:56:40 +0800 Subject: [PATCH] FS-11164 fix unused function regression from 578d914b9 --- src/switch_jitterbuffer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/switch_jitterbuffer.c b/src/switch_jitterbuffer.c index 7965413059..206deb5806 100644 --- a/src/switch_jitterbuffer.c +++ b/src/switch_jitterbuffer.c @@ -200,7 +200,7 @@ switch_jb_node_t *sort_nodes(switch_jb_node_t *list, int (*cmp)(const void *, co } } -static inline void thin_frames(switch_jb_t *jb, int freq, int max); +// static inline void thin_frames(switch_jb_t *jb, int freq, int max); static inline switch_jb_node_t *new_node(switch_jb_t *jb) @@ -391,6 +391,7 @@ static inline uint32_t jb_find_lowest_ts(switch_jb_t *jb) return lowest ? lowest->packet.header.ts : 0; } +#if 0 static inline void thin_frames(switch_jb_t *jb, int freq, int max) { switch_jb_node_t *node, *this_node; @@ -420,8 +421,6 @@ static inline void thin_frames(switch_jb_t *jb, int freq, int max) switch_mutex_unlock(jb->list_mutex); } - -#if 0 static inline switch_jb_node_t *jb_find_highest_node(switch_jb_t *jb) { switch_jb_node_t *np, *highest = NULL;