[Spice-devel] [spice-server PATCH 3/3] typo: fix the spelling of precede

Uri Lublin uril at redhat.com
Wed Jul 3 14:34:17 UTC 2019


---
 server/glz-encoder-dict.c  | 2 +-
 server/gstreamer-encoder.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/glz-encoder-dict.c b/server/glz-encoder-dict.c
index c3c4606c6..7bf16bfb2 100644
--- a/server/glz-encoder-dict.c
+++ b/server/glz-encoder-dict.c
@@ -410,7 +410,7 @@ static WindowImage *glz_dictionary_window_get_new_head(SharedDictionary *dict, i
     GLZ_ASSERT(dict->cur_usr, dict->window.used_segs_head != NULL_IMAGE_SEG_ID);
     GLZ_ASSERT(dict->cur_usr, dict->window.used_segs_tail != NULL_IMAGE_SEG_ID);
 
-    // used_segs_head is the latest logical head (the physical head may preceed it)
+    // used_segs_head is the latest logical head (the physical head may precede it)
     cur_head = dict->window.segs[dict->window.used_segs_head].image;
     cur_win_size = dict->window.segs[dict->window.used_segs_tail].pixels_num +
         dict->window.segs[dict->window.used_segs_tail].pixels_so_far -
diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c
index 6416b688d..4718274d3 100644
--- a/server/gstreamer-encoder.c
+++ b/server/gstreamer-encoder.c
@@ -666,7 +666,7 @@ static void set_bit_rate(SpiceGstEncoder *encoder, uint64_t bit_rate)
     encoder->vbuffer_size = new_size;
     update_next_frame_mm_time(encoder);
 
-    /* Frames preceeding the bit rate change are not relevant to the current
+    /* Frames preceding the bit rate change are not relevant to the current
      * situation anymore.
      */
     encoder->stat_first = encoder->history_last;
-- 
2.21.0



More information about the Spice-devel mailing list