Commit 728866a8 authored by Rémi Duraffort's avatar Rémi Duraffort

posterize: remove unused variable (set but not used)

parent 01cf7007
......@@ -441,7 +441,6 @@ static void SubpictureUpdate( subpicture_t *p_subpic,
}
/* Allocate the regions and draw them */
subpicture_region_t *pp_region[i_max_region];
subpicture_region_t **pp_region_last = &p_subpic->p_region;
for( int i = 0; i < i_region; i++ )
......@@ -456,7 +455,7 @@ static void SubpictureUpdate( subpicture_t *p_subpic,
fmt_region.i_height =
fmt_region.i_visible_height = region[i].y1 - region[i].y0;
pp_region[i] = r = subpicture_region_New( &fmt_region );
r = subpicture_region_New( &fmt_region );
if( !r )
break;
r->i_x = region[i].x0;
......
......@@ -279,7 +279,7 @@ static void PlanarYUVPosterize( picture_t *p_pic, picture_t *p_outpic,
*****************************************************************************/
static void PackedYUVPosterize( picture_t *p_pic, picture_t *p_outpic, int i_level )
{
uint8_t *p_in, *p_in_end, *p_line_start, *p_line_end, *p_out;
uint8_t *p_in, *p_in_end, *p_line_end, *p_out;
uint8_t y1, y2, u, v;
p_in = p_pic->p[0].p_pixels;
......@@ -289,7 +289,6 @@ static void PackedYUVPosterize( picture_t *p_pic, picture_t *p_outpic, int i_lev
while( p_in < p_in_end )
{
p_line_start = p_in;
p_line_end = p_in + p_pic->p[0].i_visible_pitch;
while( p_in < p_line_end )
{
......@@ -374,7 +373,7 @@ static void PackedYUVPosterize( picture_t *p_pic, picture_t *p_outpic, int i_lev
static void RVPosterize( picture_t *p_pic, picture_t *p_outpic,
bool rv32, int level )
{
uint8_t *p_in, *p_in_end, *p_line_start, *p_line_end, *p_out, pixel;
uint8_t *p_in, *p_in_end, *p_line_end, *p_out, pixel;
p_in = p_pic->p[0].p_pixels;
p_in_end = p_in + p_pic->p[0].i_visible_lines
......@@ -383,7 +382,6 @@ static void RVPosterize( picture_t *p_pic, picture_t *p_outpic,
while( p_in < p_in_end )
{
p_line_start = p_in;
p_line_end = p_in + p_pic->p[0].i_visible_pitch;
while( p_in < p_line_end )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment