v4l2object: Fix use of unitilized pool pointer

CID #1212173
This commit is contained in:
Nicolas Dufresne 2014-05-09 11:51:26 -04:00
parent bd51aa7aa8
commit 68953d8026

View file

@ -3060,7 +3060,7 @@ gboolean
gst_v4l2_object_decide_allocation (GstV4l2Object * obj, GstQuery * query)
{
GstCaps *caps;
GstBufferPool *pool, *other_pool = NULL;
GstBufferPool *pool = NULL, *other_pool = NULL;
GstStructure *config;
guint size, min, max, own_min = 0;
gboolean update;