mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-19 20:46:22 +00:00
gst/gstcaps.c: Fix guint j diving under 0
Original commit message from CVS: * gst/gstcaps.c: (gst_caps_intersect): Fix guint j diving under 0
This commit is contained in:
parent
593932d3ed
commit
d9ffe247f6
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gstcaps.c: (gst_caps_intersect):
|
||||||
|
Fix guint j diving under 0
|
||||||
|
|
||||||
2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
|
2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -1008,6 +1008,8 @@ gst_caps_intersect (const GstCaps * caps1, const GstCaps * caps2)
|
||||||
gst_caps_append_structure (dest, istruct);
|
gst_caps_append_structure (dest, istruct);
|
||||||
/* move down left */
|
/* move down left */
|
||||||
k++;
|
k++;
|
||||||
|
if (j == 0)
|
||||||
|
break; /* we use a guint for j */
|
||||||
j--;
|
j--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue