projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa4fad
)
initialize bit buffer structure to avoid warning error
author
Jim Bankoski
<jimbankoski@google.com>
Mon, 30 Jun 2014 15:05:15 +0000
(08:05 -0700)
committer
Jim Bankoski
<jimbankoski@google.com>
Mon, 30 Jun 2014 15:05:15 +0000
(08:05 -0700)
Change-Id: I38bb2801ad3f059d5e2eb6513eec92397c67abcd
vp9/decoder/vp9_decodeframe.c
patch
|
blob
|
history
diff --git
a/vp9/decoder/vp9_decodeframe.c
b/vp9/decoder/vp9_decodeframe.c
index
1effef3
..
404a345
100644
(file)
--- a/
vp9/decoder/vp9_decodeframe.c
+++ b/
vp9/decoder/vp9_decodeframe.c
@@
-1334,7
+1334,8
@@
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 = { 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));