gstquery: Fix unitialized variable

This commit is contained in:
Edward Hervey 2011-12-04 11:42:39 +01:00
parent bf19148acb
commit b5792eea46

View file

@ -2221,7 +2221,7 @@ void
gst_query_intersect_caps_result (GstQuery * query, GstCaps * filter,
GstCapsIntersectMode mode)
{
GstCaps *res, *caps;
GstCaps *res, *caps = NULL;
gst_query_parse_caps_result (query, &caps);
res = gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST);