[vlc-commits] Flac: cosmetics

Jean-Baptiste Kempf git at videolan.org
Thu Apr 5 22:41:51 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Apr  5 21:32:31 2012 +0200| [4263f5f79fac712fd7128b80e6f715c5eb6a1f74] | committer: Jean-Baptiste Kempf

Flac: cosmetics

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

 modules/demux/flac.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/demux/flac.c b/modules/demux/flac.c
index d7da7aa..1919349 100644
--- a/modules/demux/flac.c
+++ b/modules/demux/flac.c
@@ -400,14 +400,13 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
         input_attachment_t ***ppp_attach =
             (input_attachment_t***)va_arg( args, input_attachment_t*** );
         int *pi_int = (int*)va_arg( args, int * );
-        int i;
 
         if( p_sys->i_attachments <= 0 )
             return VLC_EGENERIC;
 
-        *pi_int = p_sys->i_attachments;;
+        *pi_int = p_sys->i_attachments;
         *ppp_attach = xmalloc( sizeof(input_attachment_t**) * p_sys->i_attachments );
-        for( i = 0; i < p_sys->i_attachments; i++ )
+        for( int i = 0; i < p_sys->i_attachments; i++ )
             (*ppp_attach)[i] = vlc_input_attachment_Duplicate( p_sys->attachments[i] );
         return VLC_SUCCESS;
     }



More information about the vlc-commits mailing list