[vp9] Array temporal_up_switch wasn't properly initialized.
This CL makes ubsan happy. Previously failing on this line: https://cs.chromium.org/chromium/src/third_party/webrtc/modules/video_coding/codecs/vp9/include/vp9_globals.h?rcl=a2dae38ee7729ec1d6fcb7d22b7a597c627ad81a&l=142 Bug: webrtc:9855 Change-Id: Ib9ddecab4cac8e403986287bb01a2f15e980206c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/150524 Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Yves Gerey <yvesg@google.com> Cr-Commit-Position: refs/heads/master@{#28952}
This commit is contained in:
@ -108,24 +108,24 @@ struct GofInfoVP9 {
|
||||
pid_diff[3][1] = 2;
|
||||
|
||||
temporal_idx[4] = 0;
|
||||
temporal_up_switch[0] = false;
|
||||
temporal_up_switch[4] = false;
|
||||
num_ref_pics[4] = 1;
|
||||
pid_diff[4][0] = 4;
|
||||
|
||||
temporal_idx[5] = 2;
|
||||
temporal_up_switch[1] = false;
|
||||
temporal_up_switch[5] = false;
|
||||
num_ref_pics[5] = 2;
|
||||
pid_diff[5][0] = 1;
|
||||
pid_diff[5][1] = 2;
|
||||
|
||||
temporal_idx[6] = 1;
|
||||
temporal_up_switch[2] = false;
|
||||
temporal_up_switch[6] = false;
|
||||
num_ref_pics[6] = 2;
|
||||
pid_diff[6][0] = 2;
|
||||
pid_diff[6][1] = 4;
|
||||
|
||||
temporal_idx[7] = 2;
|
||||
temporal_up_switch[3] = false;
|
||||
temporal_up_switch[7] = false;
|
||||
num_ref_pics[7] = 2;
|
||||
pid_diff[7][0] = 1;
|
||||
pid_diff[7][1] = 2;
|
||||
|
||||
Reference in New Issue
Block a user