Commit 7a7541cf authored by Rémi Duraffort's avatar Rémi Duraffort

Dead initialization.

parent d89c5dc9
/***************************************************************************** /*****************************************************************************
* demux.c: demuxer using ffmpeg (libavformat). * demux.c: demuxer using ffmpeg (libavformat).
***************************************************************************** *****************************************************************************
* Copyright (C) 2004-2007 the VideoLAN team * Copyright (C) 2004-2009 the VideoLAN team
* $Id$ * $Id$
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
...@@ -718,7 +718,7 @@ static int64_t IOSeek( void *opaque, int64_t offset, int whence ) ...@@ -718,7 +718,7 @@ static int64_t IOSeek( void *opaque, int64_t offset, int whence )
{ {
URLContext *p_url = opaque; URLContext *p_url = opaque;
demux_t *p_demux = p_url->priv_data; 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 ); int64_t i_size = stream_Size( p_demux->s );
#ifdef AVFORMAT_DEBUG #ifdef AVFORMAT_DEBUG
......
/***************************************************************************** /*****************************************************************************
* avi.c : AVI file Stream input module for vlc * avi.c : AVI file Stream input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2004 the VideoLAN team * Copyright (C) 2001-2009 the VideoLAN team
* $Id$ * $Id$
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -222,8 +222,7 @@ static int Open( vlc_object_t * p_this ) ...@@ -222,8 +222,7 @@ static int Open( vlc_object_t * p_this )
bool b_index = false; bool b_index = false;
int i_do_index; int i_do_index;
avi_chunk_t ck_riff; avi_chunk_list_t *p_riff;
avi_chunk_list_t *p_riff = (avi_chunk_list_t*)&ck_riff;
avi_chunk_list_t *p_hdrl, *p_movi; avi_chunk_list_t *p_hdrl, *p_movi;
avi_chunk_avih_t *p_avih; avi_chunk_avih_t *p_avih;
......
/***************************************************************************** /*****************************************************************************
* avi.c * avi.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 the VideoLAN team * Copyright (C) 2001-2009 the VideoLAN team
* $Id$ * $Id$
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
...@@ -138,7 +138,7 @@ static void SetFCC( uint8_t *p, char *fcc ) ...@@ -138,7 +138,7 @@ static void SetFCC( uint8_t *p, char *fcc )
static int Open( vlc_object_t *p_this ) static int Open( vlc_object_t *p_this )
{ {
sout_mux_t *p_mux = (sout_mux_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" ); msg_Dbg( p_mux, "AVI muxer opened" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment