[vlc-commits] video_filter: invert: use C99 loop declaration
Tristan Matthews
git at videolan.org
Mon Aug 31 20:11:02 CEST 2015
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Mon Aug 31 13:01:16 2015 -0400| [32e4a96f65bc187356e80d0ced1710eb6a52d11c] | committer: Tristan Matthews
video_filter: invert: use C99 loop declaration
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=32e4a96f65bc187356e80d0ced1710eb6a52d11c
---
modules/video_filter/invert.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/video_filter/invert.c b/modules/video_filter/invert.c
index 3303030..77a0aa5 100644
--- a/modules/video_filter/invert.c
+++ b/modules/video_filter/invert.c
@@ -100,7 +100,6 @@ static void Destroy( vlc_object_t *p_this )
static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
{
picture_t *p_outpic;
- int i_index;
int i_planes;
if( !p_pic ) return NULL;
@@ -126,7 +125,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
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;
More information about the vlc-commits
mailing list