Small pointless cleanups

Original commit message from CVS:
Small pointless cleanups
This commit is contained in:
Wim Taymans 2002-02-02 13:32:32 +00:00
parent 991b6231ea
commit 24e313c153
2 changed files with 4 additions and 2 deletions

View file

@ -159,7 +159,7 @@ GstBuffer* gst_buffer_copy (GstBuffer *buffer);
/* merge, span, or append two buffers, intelligently */
GstBuffer* gst_buffer_merge (GstBuffer *buf1, GstBuffer *buf2);
GstBuffer* gst_buffer_span (GstBuffer *buf1,guint32 offset,GstBuffer *buf2,guint32 len);
GstBuffer* gst_buffer_span (GstBuffer *buf1, guint32 offset, GstBuffer *buf2, guint32 len);
GstBuffer* gst_buffer_append (GstBuffer *buffer, GstBuffer *append);
gboolean gst_buffer_is_span_fast (GstBuffer *buf1, GstBuffer *buf2);

View file

@ -677,7 +677,9 @@ gst_caps_intersect (GstCaps *caps1, GstCaps *caps2)
GstCaps *othercaps = caps2;
while (othercaps) {
GstCaps *intersection = gst_caps_intersect_func (caps1, othercaps);
GstCaps *intersection;
intersection = gst_caps_intersect_func (caps1, othercaps);
if (intersection) {
if (!result) {