diff options
author | Marek Olšák <[email protected]> | 2018-08-20 14:52:52 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-09-04 14:01:43 -0400 |
commit | ebd5806e0fce2bc351255dc50bcb9afa607f35d2 (patch) | |
tree | 9f59c29e24d8372958774d7b51ea4d1bcdd0e8a6 /src/gallium/state_trackers/vdpau | |
parent | 725e8ad5590749ca2fa4bd89e1e8007fd20b114e (diff) |
st/vdpau: silence an unitialized-variable warning
Diffstat (limited to 'src/gallium/state_trackers/vdpau')
-rw-r--r-- | src/gallium/state_trackers/vdpau/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |