{ VLC_FOURCC('R','V','3','2'), PIX_FMT_RGBA32 },
{ VLC_FOURCC('G','R','E','Y'), PIX_FMT_GRAY8 },
- {0}
+ { 0, 0 }
};
int E_(GetFfmpegChroma)( vlc_fourcc_t i_chroma )
AUDIO_ES, "WavPack" },
#endif
- {0}
+ { 0, 0, 0, 0 }
};
int E_(GetFfmpegCodec)( vlc_fourcc_t i_fourcc, int *pi_cat,
block_t *p_data = block_FifoGet( p_input->p_fifo );
int i_stream = *((int *)p_input->p_sys);
AVStream *p_stream = p_sys->oc->streams[i_stream];
- AVPacket pkt = {0};
+ AVPacket pkt;
+
+ memset( &pkt, 0, sizeof(AVPacket) );
av_init_packet(&pkt);
pkt.data = p_data->p_buffer;
{
for( i_col = 0; i_col < p_vout->p_sys->i_col; i_col++ )
{
+ video_format_t fmt;
+
+ memset( &fmt, 0, sizeof(video_format_t) );
+
if( i_col + 1 < p_vout->p_sys->i_col )
{
i_width = ( p_vout->render.i_width
continue;
}
- video_format_t fmt = {0};
-
fmt.i_width = fmt.i_visible_width = p_vout->render.i_width;
fmt.i_height = fmt.i_visible_height = p_vout->render.i_height;
fmt.i_x_offset = fmt.i_y_offset = 0;
static subpicture_t *spu_new_buffer( decoder_t * );
static void spu_del_buffer( decoder_t *, subpicture_t * );
-static es_format_t null_es_format = {0};
+static es_format_t null_es_format;
struct decoder_owner_sys_t
{
/* Initialize the decoder fifo */
p_dec->p_module = NULL;
-
+ memset( &null_es_format, 0, sizeof(es_format_t) );
es_format_Copy( &p_dec->fmt_in, fmt );
es_format_Copy( &p_dec->fmt_out, &null_es_format );
xml_t *p_xml = NULL;
xml_reader_t *p_xml_reader = NULL;
-
char *psz_eltname = NULL;
//char *psz_eltvalue = NULL;
char *psz_name = NULL;
char *psz_value = NULL;
-
- struct update_mirror_t tmp_mirror = {0};
+ struct update_mirror_t tmp_mirror;
vlc_mutex_lock( &p_update->lock );
+ memset( &tmp_mirror, 0, sizeof(struct update_mirror_t));
+
if( p_update->b_mirrors && b_force == VLC_FALSE )
{
vlc_mutex_unlock( &p_update->lock );
char *psz_value = NULL;
struct update_release_t *p_release = NULL;
- struct update_release_t tmp_release = {0};
- struct update_file_t tmp_file = {0};
+ struct update_release_t tmp_release;
+ struct update_file_t tmp_file;
vlc_bool_t b_os = VLC_FALSE, b_arch = VLC_FALSE;
+ memset( &tmp_release, 0, sizeof(struct update_release_t) );
+ memset( &tmp_file, 0, sizeof(struct update_file_t) );
+
tmp_release.i_type = UPDATE_RELEASE_TYPE_STABLE;
vlc_mutex_lock( &p_update->lock );
*/
int CompareReleaseToCurrent( struct update_release_t *p )
{
- struct update_release_t c = {0};
+ struct update_release_t c;
int r;
+
+ memset( &c, 0, sizeof(struct update_release_t) );
c.psz_major = STRDUP( PACKAGE_VERSION_MAJOR );
c.psz_minor = STRDUP( PACKAGE_VERSION_MINOR );
c.psz_revision = STRDUP( PACKAGE_VERSION_REVISION );