Fix uninitialized variable warning
authorJiri Palecek <jpalecek@web.de>
Mon, 23 Jan 2023 20:50:58 +0000 (20:50 +0000)
committerAurélien COUDERC <coucouf@debian.org>
Mon, 23 Jan 2023 20:50:58 +0000 (20:50 +0000)
commitb819ec2adb5aed83bc8b63f30a0ca384db811881
tree53c583d8a43111485db54c8381f0405a10067e30
parent900f5b583218b8e522807a361e8c8b564989648b
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
src/platformsupport/scenes/opengl/egl_dmabuf.cpp