From 3f3e6f02581632eb4b221e64b98a42ab599d9692 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 5 Jun 2006 12:55:58 +0000 Subject: [PATCH] gst/gstsegment.c: _copy() was always returning NULL... Original commit message from CVS: * gst/gstsegment.c: (gst_segment_copy): _copy() was always returning NULL... --- ChangeLog | 5 +++++ gst/gstsegment.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 863fdc0..941df7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-05 Edward Hervey + + * gst/gstsegment.c: (gst_segment_copy): + _copy() was always returning NULL... + 2006-06-02 Thomas Vander Stichele * libs/gst/dataprotocol/dataprotocol.c: diff --git a/gst/gstsegment.c b/gst/gstsegment.c index aaa8f25..32f4703 100644 --- a/gst/gstsegment.c +++ b/gst/gstsegment.c @@ -92,7 +92,7 @@ gst_segment_copy (GstSegment * segment) result = gst_segment_new (); memcpy (result, segment, sizeof (GstSegment)); } - return NULL; + return result; } GType -- 2.7.4