From f874250d6392281357d8f357e4161fc007f82821 Mon Sep 17 00:00:00 2001 From: russell Date: Mon, 29 Jan 2007 16:54:27 +0000 Subject: Clean up a few things in the last commit to the adaptive jitterbuffer code. - Specifically indicate to the compiler that the "dropem" variable only needs one but. - Change formatting to conform to coding guidelines. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52506 f38db490-d61c-443f-a65b-d21fe96a405b --- include/jitterbuf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/jitterbuf.h') diff --git a/include/jitterbuf.h b/include/jitterbuf.h index 5694f7b6c..dac903e83 100644 --- a/include/jitterbuf.h +++ b/include/jitterbuf.h @@ -103,8 +103,7 @@ typedef struct jitterbuf { long hist_maxbuf[JB_HISTORY_MAXBUF_SZ]; /* a sorted buffer of the max delays (highest first) */ long hist_minbuf[JB_HISTORY_MAXBUF_SZ]; /* a sorted buffer of the min delays (lowest first) */ int hist_maxbuf_valid; /* are the "maxbuf"/minbuf valid? */ - int dropem; /* flag to indicate dropping frames (overload) */ - + unsigned int dropem:1; /* flag to indicate dropping frames (overload) */ jb_frame *frames; /* queued frames */ jb_frame *free; /* free frames (avoid malloc?) */ -- cgit v1.2.3