Remove write-only variable i_maxbytespersec in avi_HeaderCreateRIFF().
authorFabian Keil <fk@fabiankeil.de>
Thu, 2 Jul 2009 18:48:28 +0000 (20:48 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Fri, 3 Jul 2009 08:16:45 +0000 (10:16 +0200)
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
modules/mux/avi.c

index b6fbc19..da6556d 100644 (file)
@@ -806,7 +806,6 @@ static block_t *avi_HeaderCreateRIFF( sout_mux_t *p_mux )
     sout_mux_sys_t      *p_sys = p_mux->p_sys;
     block_t       *p_hdr;
     int                 i_stream;
-    int                 i_maxbytespersec;
     int                 i_junk;
     buffer_out_t        bo;
 
@@ -824,7 +823,7 @@ static block_t *avi_HeaderCreateRIFF( sout_mux_t *p_mux )
     bo_AddFCC( &bo, "hdrl" );
 
     avi_HeaderAdd_avih( p_mux, &bo );
-    for( i_stream = 0,i_maxbytespersec = 0; i_stream < p_sys->i_streams; i_stream++ )
+    for( i_stream = 0; i_stream < p_sys->i_streams; i_stream++ )
     {
         avi_HeaderAdd_strl( &bo, &p_sys->stream[i_stream] );
     }