Fix uninitialized variable warning
authorJiri Palecek <jpalecek@web.de>
Wed, 6 Jan 2021 14:50:52 +0000 (14:50 +0000)
committerNorbert Preining <norbert@preining.info>
Wed, 6 Jan 2021 14:50:52 +0000 (14:50 +0000)
commitdfa211dbd50fd8da82f94c63aa814c9d3fea1d53
tree847a42a978107fb0a3c48042eb4855b98dfbebf4
parentba338d458bcc61c1e6cffccee11a220e09881d6e
Fix uninitialized variable warning

Last-Update: 2020-06-04

If the YUV format isn't found, the code depends on .format being
0. However, it was not initialized at all, so this patch initializes
the format member. The other members need not be initialized.
Last-Update: 2020-06-04
Gbp-Pq: Name uninitialized-yuvformat.patch
platformsupport/scenes/opengl/egl_dmabuf.cpp