Small pointless cleanups
authorWim Taymans <wim.taymans@gmail.com>
Sat, 2 Feb 2002 13:32:32 +0000 (13:32 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 2 Feb 2002 13:32:32 +0000 (13:32 +0000)
Original commit message from CVS:
Small pointless cleanups

gst/gstbuffer.h
gst/gstcaps.c

index ac52872..4e63557 100644 (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);
index 8bf725f..9d3be71 100644 (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) {