Skip to content
New issue

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

target_par::gvthres is hard-coded to 4 cameras #105

Open
yosefm opened this issue Aug 18, 2016 · 0 comments
Open

target_par::gvthres is hard-coded to 4 cameras #105

yosefm opened this issue Aug 18, 2016 · 0 comments

Comments

@yosefm
Copy link
Member

yosefm commented Aug 18, 2016

It should be replaced by a dynamically-allocated array, like in the other parameter structs that need to know the number of cameras. This would require adding a new_target_par function and possibly also checking for buffer overflow errors in functions that take the camera number (i.e., that the given number is less than the actual number of cameras).

On second thought, these checks should be introduced anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant