[vlc-devel] commit: Blend: Remove unuseful variable. CID 241 (Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Oct 1 20:50:35 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Oct 1 11:49:03 2008 -0700| [948ef8a0c99d6c873970f205efab8e092d2bd848] | committer: Jean-Baptiste Kempf
Blend: Remove unuseful variable. CID 241
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=948ef8a0c99d6c873970f205efab8e092d2bd848
---
modules/video_filter/blend.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/video_filter/blend.c b/modules/video_filter/blend.c
index ac380a8..c0e9f40 100644
--- a/modules/video_filter/blend.c
+++ b/modules/video_filter/blend.c
@@ -1390,7 +1390,6 @@ static void BlendRGBAYUVPacked( filter_t *p_filter,
{
int i_src_pitch, i_dst_pitch, i_src_pix_pitch;
uint8_t *p_dst, *p_src;
- uint8_t *p_trans;
int i_x, i_y, i_pix_pitch, i_trans;
bool b_even = !((i_x_offset + p_filter->fmt_out.video.i_x_offset)%2);
int i_l_offset, i_u_offset, i_v_offset;
@@ -1415,7 +1414,7 @@ static void BlendRGBAYUVPacked( filter_t *p_filter,
i_width &= ~1; /* Needs to be a multiple of 2 */
/* Draw until we reach the bottom of the subtitle */
- for( i_y = 0; i_y < i_height; i_y++, p_trans += i_src_pitch,
+ for( i_y = 0; i_y < i_height; i_y++,
p_dst += i_dst_pitch,
p_src += i_src_pitch )
{
More information about the vlc-devel
mailing list