bpifre / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

AVIWriter AddFrame causes arthimetic overflow #387

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. AddFrame where scan0 is greater than 32-bit
2.
3.

What is the expected output? What do you see instead?
Should use 64-bit if necessary and available

What version of the product are you using?
2.2.5

Please provide any additional information below.
Changing the int fields to long and using ToInt64() functions instead of 
ToInt32() resolved the overflow

Original issue reported on code.google.com by net...@hotmail.com on 11 Aug 2014 at 11:39