-
Notifications
You must be signed in to change notification settings - Fork 757
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
Don't throw exception in svm.cpp #1051
Comments
Actually, tools/vmaf.cpp also handles std::stoi error handling and also enclose the core vmaf computation function by "try". |
Yes, feel free to send a PR for this.
Don't worry about this one. This is an old tool, and should be removed from the codebase. |
Thanks for the info. I created a pull request for svm.cpp. #1071 |
Gentle ping. |
svm.cpp is only the place of throwing exception in libvmaf.
Looks like the code can be simply replaced with bool + error message.
Does it make sens to remove code so that libvmaf can be built with -fno-exceptions compiler option?
If this is agreed, I will send a pull-request.
Thanks in advance.
The text was updated successfully, but these errors were encountered: