shithub: libvpx

Download patch

ref: a93c506034710a21a0a93a71fff71b794f3f9579
parent: ba869a9bb0102171b80e7d46e676904df20b0f3c
parent: 7a8829f61a38dcb7a2771703df8d6aa412718676
author: Jim Bankoski <[email protected]>
date: Mon Jun 30 05:14:23 EDT 2014

Merge "initialize bit buffer structure to avoid warning error"

--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -1334,7 +1334,8 @@
                       const uint8_t **p_data_end) {
   VP9_COMMON *const cm = &pbi->common;
   MACROBLOCKD *const xd = &pbi->mb;
-  struct vp9_read_bit_buffer rb = { 0 };
+  struct vp9_read_bit_buffer rb = { NULL, NULL, 0, NULL, 0};
+
   uint8_t clear_data[MAX_VP9_HEADER_SIZE];
   const size_t first_partition_size = read_uncompressed_header(pbi,
       init_read_bit_buffer(pbi, &rb, data, data_end, clear_data));