glbufferpool: explicitly initialize a possibly uninitialized variable
authorMatthew Waters <matthew@centricular.com>
Sat, 31 Oct 2015 12:28:20 +0000 (23:28 +1100)
committerMatthew Waters <matthew@centricular.com>
Sat, 31 Oct 2015 12:32:55 +0000 (23:32 +1100)
commitdd738842e42d269f15d4ee8b17d2c4e26f5885c8
treec7e13f760b1c1a2cfe9048664e0cd6236b3348ee
parente48e68416cd2698ed821748ac89e198b61c95391
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