vp9_decode_frame: remove explicit read_bit_buffer init
authorJames Zern <jzern@google.com>
Wed, 10 Jun 2015 22:50:54 +0000 (15:50 -0700)
committerJames Zern <jzern@google.com>
Wed, 10 Jun 2015 22:50:54 +0000 (15:50 -0700)
this is done by init_read_bit_buffer()

Change-Id: I222eaa4e9758ff9f7e1e4122106c5c4652ffa99c

vp9/decoder/vp9_decodeframe.c

index e4c2b56..cd498ff 100644 (file)
@@ -1974,7 +1974,7 @@ void vp9_decode_frame(VP9Decoder *pbi,
                       const uint8_t **p_data_end) {
   VP9_COMMON *const cm = &pbi->common;
   MACROBLOCKD *const xd = &pbi->mb;
-  struct vp9_read_bit_buffer rb = { NULL, NULL, 0, NULL, 0};
+  struct vp9_read_bit_buffer rb;
   int context_updated = 0;
   uint8_t clear_data[MAX_VP9_HEADER_SIZE];
   const size_t first_partition_size = read_uncompressed_header(pbi,