[vlc-commits] demux: libavi: remove useless init

Francois Cartegnie git at videolan.org
Tue Nov 21 18:21:39 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Nov 21 10:54:09 2017 +0100| [ba142f0e91c640afe42c96b82cb3dfc877c998e4] | committer: Francois Cartegnie

demux: libavi: remove useless init

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

 modules/demux/avi/libavi.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index c1456a8223..e29d30a060 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -67,10 +67,6 @@ static int AVI_ChunkReadCommon( stream_t *s, avi_chunk_t *p_chk )
         UINT64_MAX - p_chk->common.i_chunk_pos - 8 < __EVEN(p_chk->common.i_chunk_size) )
         return VLC_EGENERIC;
 
-    p_chk->common.p_father = NULL;
-    p_chk->common.p_next = NULL;
-    p_chk->common.p_first = NULL;
-    p_chk->common.p_next = NULL;
 
 #ifdef AVI_DEBUG
     msg_Dbg( (vlc_object_t*)s,



More information about the vlc-commits mailing list