[vlc-devel] commit: Fix previous commits ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Aug 21 17:34:52 CEST 2008


vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Aug 21 18:37:52 2008 +0300| [cf8158787e1442a4adad7250edbb30779cb18442] | committer: Rémi Denis-Courmont 

Fix previous commits

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

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

diff --git a/modules/demux/tta.c b/modules/demux/tta.c
index 1522854..eede5bb 100644
--- a/modules/demux/tta.c
+++ b/modules/demux/tta.c
@@ -85,6 +85,7 @@ static int Open( vlc_object_t * p_this )
     int         i_seektable_size = 0;
     //char        psz_info[4096];
     //module_t    *p_id3;
+    uint32_t    i;
 
     if( stream_Peek( p_demux->s, &p_peek, 4 ) < 4 )
         return VLC_EGENERIC;
@@ -149,7 +150,7 @@ static int Open( vlc_object_t * p_this )
     p_sys->pi_seektable = calloc( p_sys->i_totalframes, sizeof(uint32_t) );
     if( !p_sys->pi_seektable )
         goto error;
-    for( uint32_t i = 0; i < p_sys->i_totalframes; i++ )
+    for( i = 0; i < p_sys->i_totalframes; i++ )
     {
         p_sys->pi_seektable[i] = GetDWLE( p_fullheader );
         p_fullheader += 4;




More information about the vlc-devel mailing list