glbufferpool: explicitly initialize a possibly uninitialized variable
authorMatthew Waters <matthew@centricular.com>
Sat, 31 Oct 2015 12:28:20 +0000 (23:28 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:10 +0000 (19:32 +0000)
commitd41e6a557934031d6bf1e7c254fed07f5accccb7
treed6babeac9e14756ba7daf9a2b272c9610d46f0be
parent25e3e1eb7b9c147ac22d6fc4176d1c51ef7bac8c
glbufferpool: explicitly initialize a possibly uninitialized variable

The ret variable may be uninitialized and so its contents were undefined and
the results were erratic (failing with glvideomixer, succeeding in other cases)

P.S. No idea why gcc/clang et al never picked up on this like they normally do
(probably due to some optimisation pass figuring out it's only set once...)
gst-libs/gst/gl/gstglbufferpool.c