Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e03d7e7b
Commit
e03d7e7b
authored
Oct 21, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warning: missing initializer
parent
61871f5f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
13 deletions
+22
-13
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+2
-2
modules/codec/ffmpeg/mux.c
modules/codec/ffmpeg/mux.c
+3
-1
modules/video_filter/panoramix.c
modules/video_filter/panoramix.c
+4
-2
src/input/decoder.c
src/input/decoder.c
+2
-2
src/misc/update.c
src/misc/update.c
+11
-6
No files found.
modules/codec/ffmpeg/ffmpeg.c
View file @
e03d7e7b
...
...
@@ -466,7 +466,7 @@ static struct
{
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
)
...
...
@@ -1142,7 +1142,7 @@ static struct
AUDIO_ES
,
"WavPack"
},
#endif
{
0
}
{
0
,
0
,
0
,
0
}
};
int
E_
(
GetFfmpegCodec
)(
vlc_fourcc_t
i_fourcc
,
int
*
pi_cat
,
...
...
modules/codec/ffmpeg/mux.c
View file @
e03d7e7b
...
...
@@ -301,7 +301,9 @@ static int MuxBlock( sout_mux_t *p_mux, sout_input_t *p_input )
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
;
...
...
modules/video_filter/panoramix.c
View file @
e03d7e7b
...
...
@@ -749,6 +749,10 @@ static int Init( vout_thread_t *p_vout )
{
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
...
...
@@ -797,8 +801,6 @@ static int Init( vout_thread_t *p_vout )
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
;
...
...
src/input/decoder.c
View file @
e03d7e7b
...
...
@@ -55,7 +55,7 @@ static void vout_unlink_picture( decoder_t *, picture_t * );
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
{
...
...
@@ -396,7 +396,7 @@ static decoder_t * CreateDecoder( input_thread_t *p_input,
/* 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
);
...
...
src/misc/update.c
View file @
e03d7e7b
...
...
@@ -221,16 +221,16 @@ void GetMirrorsList( update_t *p_update, vlc_bool_t b_force )
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
);
...
...
@@ -399,11 +399,14 @@ void GetFilesList( update_t *p_update, vlc_bool_t b_force )
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
);
...
...
@@ -730,8 +733,10 @@ int CompareReleases( struct update_release_t *p1, struct update_release_t *p2 )
*/
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment