[vlc-commits] AVI: kill a warning

Jean-Baptiste Kempf git at videolan.org
Thu Jul 26 23:21:45 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jul 26 12:20:10 2012 +0200| [b0e2be1e20609162adc7d360d63ea1e570ce361b] | committer: Jean-Baptiste Kempf

AVI: kill a warning

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

 modules/demux/avi/avi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index a20cdf0..219049b 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -1312,7 +1312,7 @@ static int Seek( demux_t *p_demux, mtime_t i_date, int i_percent )
         if( !p_sys->i_length )
         {
             avi_track_t *p_stream = NULL;
-            unsigned i_stream;
+            unsigned i_stream = 0;
             int64_t i_pos;
 
             /* use i_percent to create a true i_date */



More information about the vlc-commits mailing list