Commit 5a98d360 authored by Rémi Duraffort's avatar Rémi Duraffort

Remove dead initializations

parent ef1de522
......@@ -436,7 +436,7 @@ static mtime_t GetPicturePTS( encoder_t *p_enc, uint32_t u_pnum )
static int OpenEncoder( vlc_object_t *p_this )
{
encoder_t *p_enc = (encoder_t *)p_this;
encoder_sys_t *p_sys = p_enc->p_sys;
encoder_sys_t *p_sys;
int i_tmp;
float f_tmp;
char *psz_tmp;
......
......@@ -122,7 +122,7 @@ static const uint32_t pi_channels_guessed[MAX_CHANNEL_POSITIONS] =
static int Open( vlc_object_t *p_this )
{
decoder_t *p_dec = (decoder_t*)p_this;
decoder_sys_t *p_sys = p_dec->p_sys;
decoder_sys_t *p_sys;
faacDecConfiguration *cfg;
if( p_dec->fmt_in.i_codec != VLC_CODEC_MP4A )
......
......@@ -1060,7 +1060,7 @@ static bool SetEncChromaFormat( encoder_t *p_enc, uint32_t i_codec )
static int OpenEncoder( vlc_object_t *p_this )
{
encoder_t *p_enc = (encoder_t *)p_this;
encoder_sys_t *p_sys = p_enc->p_sys;
encoder_sys_t *p_sys;
int i_tmp;
float f_tmp;
char *psz_tmp;
......
......@@ -118,7 +118,7 @@ struct services_discovery_sys_t
static int Open( vlc_object_t *p_this, enum type_e i_type )
{
services_discovery_t *p_sd = ( services_discovery_t* )p_this;
services_discovery_sys_t *p_sys = p_sd->p_sys;
services_discovery_sys_t *p_sys;
p_sd->p_sys = p_sys = calloc( 1, sizeof( *p_sys) );
if( !p_sys )
......
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