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

Updated AVIReader and AVIWriter to work on 64-bit systems. #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

srawls1
Copy link

@srawls1 srawls1 commented Jun 26, 2018

In the AVIWriter.AddFrame and AVIReader.GetNextFrame methods, converting the IntPtr's to ints to do math and perform a memcpy caused an ArithmeticOverflowException on 64-bit systems. I modified it to perform the math and the copy directly with the IntPtr's and not throw exceptions.

@li-xiaoyi
Copy link

Good

@li-xiaoyi
Copy link

.net framework 4.0 is support?
AVIWriter.AddFrame still OverflowException Can you take a look

@li-xiaoyi
Copy link

Input video without error, but open video is black screen

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