1. Add Null check in 'free_item' function.
2. Fix a typing error of comment.
https://bugzilla.gnome.org/show_bug.cgi?id=750965
static void
free_item (RTPJitterBufferItem * item)
{
+ g_return_if_fail (item != NULL);
+
if (item->data && item->type != ITEM_TYPE_QUERY)
gst_mini_object_unref (item->data);
g_slice_free (RTPJitterBufferItem, item);
case RTP_JITTER_BUFFER_MODE_NONE:
case RTP_JITTER_BUFFER_MODE_BUFFER:
/* send 0 as the first timestamp and -1 for the other ones. This will
- * interpollate them from the RTP timestamps with a 0 origin. In buffering
+ * interpolate them from the RTP timestamps with a 0 origin. In buffering
* mode we will adjust the outgoing timestamps according to the amount of
* time we spent buffering. */
if (jbuf->base_time == -1)