[vlc-commits] commit: Fixed mix up between pitches in magnify filter. (Laurent Aimar )
git version control
git at videolan.org
Wed Mar 3 22:47:48 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Mar 3 22:34:57 2010 +0100| [1c7c0c9f95b8df3141121736e22c212173a10860] | committer: Laurent Aimar
Fixed mix up between pitches in magnify filter.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c7c0c9f95b8df3141121736e22c212173a10860
---
modules/video_filter/magnify.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/magnify.c b/modules/video_filter/magnify.c
index 84ab1d8..2ddbc8b 100644
--- a/modules/video_filter/magnify.c
+++ b/modules/video_filter/magnify.c
@@ -185,7 +185,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
const int o_yp = o_y * p_outpic->p[i_plane].i_lines / p_outpic->p[Y_PLANE].i_lines;
const int o_xp = o_x * p_outpic->p[i_plane].i_pitch / p_outpic->p[Y_PLANE].i_pitch;
- crop.p[i_plane].p_pixels += o_yp * p_outpic->p[i_plane].i_pitch + o_xp;
+ crop.p[i_plane].p_pixels += o_yp * p_pic->p[i_plane].i_pitch + o_xp;
}
/* */
More information about the vlc-commits
mailing list