[vlc-commits] commit: video_filters: remove dummy assignement. ( Rémi Duraffort )
git at videolan.org
git at videolan.org
Mon Nov 15 18:23:07 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Nov 15 18:07:39 2010 +0100| [70cf9406b4d6d62195ee4bd9ad022909075eae97] | committer: Rémi Duraffort
video_filters: remove dummy assignement.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70cf9406b4d6d62195ee4bd9ad022909075eae97
---
modules/video_filter/erase.c | 3 +--
modules/video_filter/osdmenu.c | 1 -
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/video_filter/erase.c b/modules/video_filter/erase.c
index 111e92a..4bcb020 100644
--- a/modules/video_filter/erase.c
+++ b/modules/video_filter/erase.c
@@ -251,7 +251,6 @@ static void FilterErase( filter_t *p_filter, picture_t *p_inpic,
const int i_visible_pitch = p_inpic->p[i_plane].i_visible_pitch;
const int i_visible_lines = p_inpic->p[i_plane].i_visible_lines;
- uint8_t *p_outpix = p_outpic->p[i_plane].p_pixels;
uint8_t *p_mask = p_sys->p_mask->A_PIXELS;
int i_x = p_sys->i_x, i_y = p_sys->i_y;
@@ -280,7 +279,7 @@ static void FilterErase( filter_t *p_filter, picture_t *p_inpic,
plane_CopyPixels( &p_outpic->p[i_plane], &p_inpic->p[i_plane] );
/* Horizontal linear interpolation of masked areas */
- p_outpix = p_outpic->p[i_plane].p_pixels + i_y*i_pitch + i_x;
+ uint8_t *p_outpix = p_outpic->p[i_plane].p_pixels + i_y*i_pitch + i_x;
for( y = 0; y < i_height;
y++, p_mask += i_mask_pitch, p_outpix += i_pitch )
{
diff --git a/modules/video_filter/osdmenu.c b/modules/video_filter/osdmenu.c
index 7e2efd2..0400813 100644
--- a/modules/video_filter/osdmenu.c
+++ b/modules/video_filter/osdmenu.c
@@ -462,7 +462,6 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t i_date )
p_sys->i_end_date = p_spu->i_stop;
}
- p_sys->i_last_date = i_date;
p_spu->i_start = p_sys->i_last_date = i_date;
/* Send an empty subpicture to clear the display
More information about the vlc-commits
mailing list