projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
761bdc9
)
gstvalue: Remove useless checks
author
Edward Hervey
<edward@centricular.com>
Fri, 1 May 2020 13:15:46 +0000
(15:15 +0200)
committer
Sebastian Dröge
<slomo@coaxion.net>
Tue, 5 May 2020 10:17:49 +0000
(10:17 +0000)
The calling function already checks that the values exists and it's
a valid list
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/453>
gst/gstvalue.c
patch
|
blob
|
history
diff --git
a/gst/gstvalue.c
b/gst/gstvalue.c
index
fba5729
..
1aefce2
100644
(file)
--- a/
gst/gstvalue.c
+++ b/
gst/gstvalue.c
@@
-5745,10
+5745,6
@@
gst_value_list_equals_range (const GValue * list, const GValue * value)
const GValue *first;
guint list_size, n;
- g_assert (G_IS_VALUE (list));
- g_assert (G_IS_VALUE (value));
- g_assert (GST_VALUE_HOLDS_LIST (list));
-
/* TODO: compare against an empty list ? No type though... */
list_size = VALUE_LIST_SIZE (list);
if (list_size == 0)