vlc | branch: master | Tristan Matthews <[email protected]> | Mon Aug 31 
11:04:16 2015 -0400| [55ccb4167b1c08b7fb753cf49e3e50cf086f6b60] | committer: 
Tristan Matthews

video_filter: rotate: use C99 loop declarations

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=55ccb4167b1c08b7fb753cf49e3e50cf086f6b60
---

 modules/video_filter/rotate.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/video_filter/rotate.c b/modules/video_filter/rotate.c
index 69190c1..4a7d36a 100644
--- a/modules/video_filter/rotate.c
+++ b/modules/video_filter/rotate.c
@@ -368,10 +368,9 @@ static picture_t *FilterPacked( filter_t *p_filter, 
picture_t *p_pic )
     int i_sin, i_cos;
     fetch_trigo( p_sys, &i_sin, &i_cos );
 
-    int i_col, i_line;
-    for( i_line = 0; i_line < i_visible_lines; i_line++ )
+    for( int i_line = 0; i_line < i_visible_lines; i_line++ )
     {
-        for( i_col = 0; i_col < i_visible_pitch; i_col++ )
+        for( int i_col = 0; i_col < i_visible_pitch; i_col++ )
         {
             int i_line_orig;
             int i_col_orig;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to