--- gst-plugins-good-1.5.1/gst/rtp/gstrtpvp8pay.c~	2015-06-08 13:58:04.495368515 +0100
+++ gst-plugins-good-1.5.1/gst/rtp/gstrtpvp8pay.c	2015-06-08 14:40:49.303316178 +0100
@@ -350,13 +350,12 @@ gst_rtp_vp8_offset_to_partition (GstRtpV
 {
   int i;
 
-  for (i = 0; i < self->n_partitions; i++) {
-    if (offset >= self->partition_offset[i] &&
-        offset < self->partition_offset[i + 1])
-      return i;
+  for (i = 1; i < self->n_partitions; i++) {
+    if (offset < self->partition_offset[i])
+      return i - 1;
   }
 
-  return i;
+  return i - 1;
 }
 
 static gsize
