From: Seven Du Date: Thu, 23 Aug 2018 23:56:40 +0000 (+0800) Subject: FS-11164 fix unused function regression from 578d914b9 X-Git-Tag: v1.8.2~1^2~65^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82350aced53bf76dce581b1264512d61ddafc768;p=thirdparty%2Ffreeswitch.git FS-11164 fix unused function regression from 578d914b9 --- 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;