From 7a7541cfa223c4b0206321a8dbdf8c31798d36e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Fri, 19 Jun 2009 14:01:56 +0200 Subject: [PATCH] Dead initialization. --- modules/demux/avformat/demux.c | 4 ++-- modules/demux/avi/avi.c | 5 ++--- modules/mux/avi.c | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c index 63206218a4..4bc6873e5a 100644 --- a/modules/demux/avformat/demux.c +++ b/modules/demux/avformat/demux.c @@ -1,7 +1,7 @@ /***************************************************************************** * demux.c: demuxer using ffmpeg (libavformat). ***************************************************************************** - * Copyright (C) 2004-2007 the VideoLAN team + * Copyright (C) 2004-2009 the VideoLAN team * $Id$ * * Authors: Laurent Aimar @@ -718,7 +718,7 @@ static int64_t IOSeek( void *opaque, int64_t offset, int whence ) { URLContext *p_url = opaque; demux_t *p_demux = p_url->priv_data; - int64_t i_absolute = (int64_t)offset; + int64_t i_absolute; int64_t i_size = stream_Size( p_demux->s ); #ifdef AVFORMAT_DEBUG diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c index 4dbca4fdcb..037027cc00 100644 --- a/modules/demux/avi/avi.c +++ b/modules/demux/avi/avi.c @@ -1,7 +1,7 @@ /***************************************************************************** * avi.c : AVI file Stream input module for vlc ***************************************************************************** - * Copyright (C) 2001-2004 the VideoLAN team + * Copyright (C) 2001-2009 the VideoLAN team * $Id$ * Authors: Laurent Aimar * @@ -222,8 +222,7 @@ static int Open( vlc_object_t * p_this ) bool b_index = false; int i_do_index; - avi_chunk_t ck_riff; - avi_chunk_list_t *p_riff = (avi_chunk_list_t*)&ck_riff; + avi_chunk_list_t *p_riff; avi_chunk_list_t *p_hdrl, *p_movi; avi_chunk_avih_t *p_avih; diff --git a/modules/mux/avi.c b/modules/mux/avi.c index 28a36160d3..b6fbc19e88 100644 --- a/modules/mux/avi.c +++ b/modules/mux/avi.c @@ -1,7 +1,7 @@ /***************************************************************************** * avi.c ***************************************************************************** - * Copyright (C) 2001, 2002 the VideoLAN team + * Copyright (C) 2001-2009 the VideoLAN team * $Id$ * * Authors: Laurent Aimar @@ -138,7 +138,7 @@ static void SetFCC( uint8_t *p, char *fcc ) static int Open( vlc_object_t *p_this ) { sout_mux_t *p_mux = (sout_mux_t*)p_this; - sout_mux_sys_t *p_sys = p_mux->p_sys; + sout_mux_sys_t *p_sys; msg_Dbg( p_mux, "AVI muxer opened" ); -- 2.39.2