[vlc-devel] commit: Remove write-only variable i_maxbytespersec in avi_HeaderCreateRIFF (). (Fabian Keil )
git version control
git at videolan.org
Fri Jul 3 10:17:36 CEST 2009
vlc | branch: master | Fabian Keil <fk at fabiankeil.de> | Thu Jul 2 20:48:28 2009 +0200| [c093b639eaa873bcfee4fdae384b2234f361aed2] | committer: Rémi Duraffort
Remove write-only variable i_maxbytespersec in avi_HeaderCreateRIFF().
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c093b639eaa873bcfee4fdae384b2234f361aed2
---
modules/mux/avi.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/mux/avi.c b/modules/mux/avi.c
index b6fbc19..da6556d 100644
--- a/modules/mux/avi.c
+++ b/modules/mux/avi.c
@@ -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] );
}
More information about the vlc-devel
mailing list