From 24e313c15379b13412100d7761c5c3ca1d391278 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 2 Feb 2002 13:32:32 +0000 Subject: [PATCH] Small pointless cleanups Original commit message from CVS: Small pointless cleanups --- gst/gstbuffer.h | 2 +- gst/gstcaps.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h index ac52872..4e63557 100644 --- a/gst/gstbuffer.h +++ b/gst/gstbuffer.h @@ -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); diff --git a/gst/gstcaps.c b/gst/gstcaps.c index 8bf725f..9d3be71 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -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) { -- 2.7.4