ARLM-Keller / aforge

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

A first chance exception of type 'System.AccessViolationException' occurred in AForge.Imaging.dll #91

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using ReplaceChannel

What is the expected output? What do you see instead?
A first chance exception of type 'System.AccessViolationException' occurred
in AForge.Imaging.dll

What version of the product are you using? On what operating system?
AForge.NET 1.7.0

Please provide any additional information below.
In ReplaceChannel in line 119 is line:
ch  += ( startY + chData.Stride + startX );
and i think should be 
ch  += ( startY * chData.Stride + startX );

Regards
Kuba Florczyk

Original issue reported on code.google.com by jakub.fl...@gmail.com on 20 Feb 2009 at 9:26

GoogleCodeExporter commented 8 years ago
Hello,

It was already fixed:
http://code.google.com/p/aforge/issues/detail?id=84

Andrew

Original comment by andrew.k...@gmail.com on 21 Feb 2009 at 7:03