videodec: Ensure update_pool is initialized

This was probably not causing any issues, but we would randomly
and needlessly update the pool in the query due to uninitialized
variable.
This commit is contained in:
Nicolas Dufresne 2014-11-16 16:11:53 -05:00
parent 7b9a53068d
commit 9919c274b9

View file

@ -1650,7 +1650,7 @@ gst_ffmpegviddec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
GstBufferPool *pool;
guint size, min, max;
GstStructure *config;
gboolean have_videometa, have_alignment, update_pool;
gboolean have_videometa, have_alignment, update_pool = FALSE;
GstAllocator *allocator = NULL;
GstAllocationParams params = { 0, 15, 0, 0, };