st/vdpau: silence an unitialized-variable warning
authorMarek Olšák <marek.olsak@amd.com>
Mon, 20 Aug 2018 18:52:52 +0000 (14:52 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Sep 2018 18:01:43 +0000 (14:01 -0400)
src/gallium/state_trackers/vdpau/decode.c

index 66d5225771791e3bb4a3355a6f3f5ecf220ac993..48dfb0e000370c85876744b0b8ac5b10c0a34c49 100644 (file)
@@ -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 */