From 60be53fabfefb75719620e5eb88ee739faff058e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 17 Feb 2012 15:08:32 -0800 Subject: [PATCH] gstvalue: Remove useless assignment --- gst/gstvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 1ffe441b19..67f609084b 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -1069,8 +1069,8 @@ gst_value_copy_int64_range (const GValue * src_value, GValue * dest_value) if (vals == NULL) { gst_value_init_int64_range (dest_value); - vals = (gint64 *) dest_value->data[0].v_pointer; } + if (src_vals != NULL) { INT64_RANGE_MIN (dest_value) = INT64_RANGE_MIN (src_value); INT64_RANGE_MAX (dest_value) = INT64_RANGE_MAX (src_value);