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

Correct the end of buffer of v4l2_plane #45

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

rosetta-jpn
Copy link
Contributor

The specification on v4l2_plane [1] states data_offset is included in bytesused. The correct 'end' of buffer is just bytesused.

[1] https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/buffer.html#struct-v4l2-plane

The specification on v4l2_plane [1] states data_offset is included in
bytesused. The correct 'end' of buffer is just bytesused.

[1] https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/buffer.html#struct-v4l2-plane
@Gnurou Gnurou merged commit 6846e6f into Gnurou:master Jan 17, 2025
1 check passed
@Gnurou
Copy link
Owner

Gnurou commented Jan 17, 2025

Nice catch, thanks!

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

Successfully merging this pull request may close these issues.

2 participants