From: Marek Olšák Date: Mon, 20 Aug 2018 18:52:52 +0000 (-0400) Subject: st/vdpau: silence an unitialized-variable warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebd5806e0fce2bc351255dc50bcb9afa607f35d2;p=mesa.git st/vdpau: silence an unitialized-variable warning --- diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c index 66d52257717..48dfb0e0003 100644 --- a/src/gallium/state_trackers/vdpau/decode.c +++ b/src/gallium/state_trackers/vdpau/decode.c @@ -527,7 +527,7 @@ static void vlVdpDecoderFixVC1Startcode(uint32_t *num_buffers, const void *buffers[], unsigned sizes[]) { static const uint8_t vc1_startcode[] = { 0x00, 0x00, 0x01, 0x0D }; - struct vl_vlc vlc; + struct vl_vlc vlc = {}; unsigned i; /* search the first 64 bytes for a startcode */