[vlc-devel] commit: Fixed a Bug in UpdateEdgeWeighting used wrong const for number of columns (copy and paste error) ( André Weber )
git version control
git at videolan.org
Wed Mar 11 20:03:05 CET 2009
vlc | branch: master | André Weber <atmo at videolan.org> | Wed Mar 11 19:13:27 2009 +0100| [3d230637469d2ec1dcdb41957614eb3ad22b7615] | committer: André Weber
Fixed a Bug in UpdateEdgeWeighting used wrong const for number of columns (copy and paste error)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d230637469d2ec1dcdb41957614eb3ad22b7615
---
modules/video_filter/atmo/AtmoZoneDefinition.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/atmo/AtmoZoneDefinition.cpp b/modules/video_filter/atmo/AtmoZoneDefinition.cpp
index eb9bd57..d2dc162 100644
--- a/modules/video_filter/atmo/AtmoZoneDefinition.cpp
+++ b/modules/video_filter/atmo/AtmoZoneDefinition.cpp
@@ -204,7 +204,7 @@ void CAtmoZoneDefinition::UpdateWeighting(int *destWeight,
int index = 0;
for(int row=0; row < CAP_HEIGHT; row++) {
- for(int col=0; col < CAP_HEIGHT; col++) {
+ for(int col=0; col < CAP_WIDTH; col++) {
if ((WidescreenMode == 1) && ((row <= CAP_HEIGHT/8) || (row >= (7*CAP_HEIGHT)/8)))
{
destWeight[index] = 0;
More information about the vlc-devel
mailing list