We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vps.Layer_id_included_flag = make([][]uint8, vps.Vps_num_layer_sets_minus1) for i := 1; i <= int(vps.Vps_num_layer_sets_minus1); i++ { vps.Layer_id_included_flag[i] = make([]uint8, vps.Vps_max_layer_id) for j := 0; j <= int(vps.Vps_max_layer_id); j++ { vps.Layer_id_included_flag[i][j] = bs.Uint8(1) } } 这里,make 了一个Vps_num_layer_sets_minus1大小的slice,但是i<=Vps_num_layer_sets_minus1,所以Layer_id_included_flag会越界,同时下面的Layer_id_included_flag也是会越界
The text was updated successfully, but these errors were encountered:
fix bug: #151 out of range
7dde65f
thanks
Sorry, something went wrong.
No branches or pull requests
vps.Layer_id_included_flag = make([][]uint8, vps.Vps_num_layer_sets_minus1)
for i := 1; i <= int(vps.Vps_num_layer_sets_minus1); i++ {
vps.Layer_id_included_flag[i] = make([]uint8, vps.Vps_max_layer_id)
for j := 0; j <= int(vps.Vps_max_layer_id); j++ {
vps.Layer_id_included_flag[i][j] = bs.Uint8(1)
}
}
这里,make 了一个Vps_num_layer_sets_minus1大小的slice,但是i<=Vps_num_layer_sets_minus1,所以Layer_id_included_flag会越界,同时下面的Layer_id_included_flag也是会越界
The text was updated successfully, but these errors were encountered: