[xiph-commits] r14498 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Wed Feb 13 02:20:35 PST 2008
Author: jm
Date: 2008-02-13 02:20:35 -0800 (Wed, 13 Feb 2008)
New Revision: 14498
Modified:
trunk/speex/libspeex/jitter.c
Log:
Preventing overflow of the arrival timings even in high jitter.
Modified: trunk/speex/libspeex/jitter.c
===================================================================
--- trunk/speex/libspeex/jitter.c 2008-02-13 10:12:13 UTC (rev 14497)
+++ trunk/speex/libspeex/jitter.c 2008-02-13 10:20:35 UTC (rev 14498)
@@ -83,7 +83,7 @@
struct TimingBuffer {
int filled; /**< Number of entries occupied in "timing" and "counts"*/
int curr_count; /**< Number of packet timings we got (including those we discarded) */
- spx_int16_t timing[MAX_TIMINGS]; /**< Sorted list of all timings ("latest" packets first) */
+ spx_int32_t timing[MAX_TIMINGS]; /**< Sorted list of all timings ("latest" packets first) */
spx_int16_t counts[MAX_TIMINGS]; /**< Order the packets were put in (will be used for short-term estimate) */
};
More information about the commits
mailing list