Index: libspeex/jitter.c =================================================================== --- libspeex/jitter.c (Revision 12698) +++ libspeex/jitter.c (Arbeitskopie) @@ -254,6 +254,9 @@ int chunk_size; int incomplete = 0; + /* FIXME: This should be only what remaining of the current tick */ + chunk_size = jitter->tick_size; + if (jitter->interp_requested) { jitter->interp_requested = 0; @@ -272,9 +275,6 @@ } /*fprintf (stderr, "get packet %d %d\n", jitter->pointer_timestamp, jitter->current_timestamp);*/ - /* FIXME: This should be only what remaining of the current tick */ - chunk_size = jitter->tick_size; - /* Compiling arrival statistics */ late_ratio_short = 0;