gst/gstsegment.c: _copy() was always returning NULL...
authorEdward Hervey <bilboed@bilboed.com>
Mon, 5 Jun 2006 12:55:58 +0000 (12:55 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 5 Jun 2006 12:55:58 +0000 (12:55 +0000)
Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_copy):
_copy() was always returning NULL...

ChangeLog
gst/gstsegment.c

index 863fdc0..941df7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-05  Edward Hervey  <edward@fluendo.com>
+
+       * gst/gstsegment.c: (gst_segment_copy): 
+       _copy() was always returning NULL...
+
 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * libs/gst/dataprotocol/dataprotocol.c:
index aaa8f25..32f4703 100644 (file)
@@ -92,7 +92,7 @@ gst_segment_copy (GstSegment * segment)
     result = gst_segment_new ();
     memcpy (result, segment, sizeof (GstSegment));
   }
-  return NULL;
+  return result;
 }
 
 GType