mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
gstquery: Fix unitialized variable
This commit is contained in:
parent
bf19148acb
commit
b5792eea46
1 changed files with 1 additions and 1 deletions
|
@ -2221,7 +2221,7 @@ void
|
||||||
gst_query_intersect_caps_result (GstQuery * query, GstCaps * filter,
|
gst_query_intersect_caps_result (GstQuery * query, GstCaps * filter,
|
||||||
GstCapsIntersectMode mode)
|
GstCapsIntersectMode mode)
|
||||||
{
|
{
|
||||||
GstCaps *res, *caps;
|
GstCaps *res, *caps = NULL;
|
||||||
|
|
||||||
gst_query_parse_caps_result (query, &caps);
|
gst_query_parse_caps_result (query, &caps);
|
||||||
res = gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST);
|
res = gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST);
|
||||||
|
|
Loading…
Reference in a new issue