vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Nov  3 
14:01:24 2010 +0100| [616734f379b9ee0816c9f11447bdef52c69ad70b] | committer: 
Jean-Baptiste Kempf 

AVI: remove dead assignment

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

 modules/demux/avi/libavi.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index 45d20e2..5d2d78b 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -48,14 +48,11 @@ static vlc_fourcc_t GetFOURCC( const uint8_t *p_buff )
 static int AVI_ChunkReadCommon( stream_t *s, avi_chunk_t *p_chk )
 {
     const uint8_t *p_peek;
-    int i_peek;
 
     memset( p_chk, 0, sizeof( avi_chunk_t ) );
 
-    if( ( i_peek = stream_Peek( s, &p_peek, 8 ) ) < 8 )
-    {
+    if( stream_Peek( s, &p_peek, 8 ) < 8 )
         return VLC_EGENERIC;
-    }
 
     p_chk->common.i_chunk_fourcc = GetFOURCC( p_peek );
     p_chk->common.i_chunk_size   = GetDWLE( p_peek + 4 );

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to