Commit 32e4a96f authored by Tristan Matthews's avatar Tristan Matthews

video_filter: invert: use C99 loop declaration

parent 9f6b9ed6
...@@ -100,7 +100,6 @@ static void Destroy( vlc_object_t *p_this ) ...@@ -100,7 +100,6 @@ static void Destroy( vlc_object_t *p_this )
static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
{ {
picture_t *p_outpic; picture_t *p_outpic;
int i_index;
int i_planes; int i_planes;
if( !p_pic ) return NULL; if( !p_pic ) return NULL;
...@@ -126,7 +125,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) ...@@ -126,7 +125,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
i_planes = p_pic->i_planes; i_planes = p_pic->i_planes;
} }
for( i_index = 0 ; i_index < i_planes ; i_index++ ) for( int i_index = 0 ; i_index < i_planes ; i_index++ )
{ {
uint8_t *p_in, *p_in_end, *p_line_end, *p_out; uint8_t *p_in, *p_in_end, *p_line_end, *p_out;
......
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