From ecd8fd351165f06ef8c0ecf1392766a89c80a2fd Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 16 Jun 2014 08:41:48 +0200 Subject: [PATCH] flowcombiner: Fixed GBoxedCopyFunc I'll just quote the most interesting man in the world: "I don't usually push commits, but when I do I don't compile it first" --- libs/gst/base/gstflowcombiner.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/gst/base/gstflowcombiner.c b/libs/gst/base/gstflowcombiner.c index 028f6e0..72c5d17 100644 --- a/libs/gst/base/gstflowcombiner.c +++ b/libs/gst/base/gstflowcombiner.c @@ -117,9 +117,11 @@ gst_flow_combiner_free (GstFlowCombiner * combiner) static GstFlowCombiner * gst_flow_combiner_ref (GstFlowCombiner * combiner) { - g_return_if_fail (combiner != NULL); + g_return_val_if_fail (combiner != NULL, NULL); g_atomic_int_inc (&combiner->ref_count); + + return combiner; } static void -- 2.7.4