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

Do not use constant syscall.EAGAIN #159

Open
debugger-zhang opened this issue Jan 10, 2024 · 0 comments
Open

Do not use constant syscall.EAGAIN #159

debugger-zhang opened this issue Jan 10, 2024 · 0 comments

Comments

@debugger-zhang
Copy link

debugger-zhang commented Jan 10, 2024

Currently code has several usages of syscall.EAGAIN. However, if you compile the project in MSYS2 MinGW (see here for detail), the value of syscall.EAGAIN will be 536870918 but libavcodec still returns 11. Therefore it will results in errors. It should be replaced with a hardcoded constant with value 11.

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