Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
dc8a7d67
Commit
dc8a7d67
authored
Mar 29, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: cast of lvalues ...
parent
49925980
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
modules/demux/wav.c
modules/demux/wav.c
+3
-2
modules/mux/mpeg/ps.c
modules/mux/mpeg/ps.c
+1
-1
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+1
-1
No files found.
modules/demux/wav.c
View file @
dc8a7d67
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* wav.c : wav file input module for vlc
* wav.c : wav file input module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* Copyright (C) 2001-2003 VideoLAN
* $Id
: wav.c,v 1.15 2004/03/03 11:40:19 fenrir Exp
$
* $Id$
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -119,7 +119,8 @@ static int Open( vlc_object_t * p_this )
...
@@ -119,7 +119,8 @@ static int Open( vlc_object_t * p_this )
stream_Read
(
p_demux
->
s
,
NULL
,
8
);
/* Cannot fail */
stream_Read
(
p_demux
->
s
,
NULL
,
8
);
/* Cannot fail */
/* load waveformatex */
/* load waveformatex */
p_wf
=
(
WAVEFORMATEX
*
)
p_wf_ext
=
malloc
(
__EVEN
(
i_size
)
+
2
);
p_wf_ext
=
malloc
(
__EVEN
(
i_size
)
+
2
);
p_wf
=
(
WAVEFORMATEX
*
)
p_wf_ext
;
p_wf
->
cbSize
=
0
;
p_wf
->
cbSize
=
0
;
if
(
stream_Read
(
p_demux
->
s
,
if
(
stream_Read
(
p_demux
->
s
,
p_wf
,
__EVEN
(
i_size
)
)
<
(
int
)
__EVEN
(
i_size
)
)
p_wf
,
__EVEN
(
i_size
)
)
<
(
int
)
__EVEN
(
i_size
)
)
...
...
modules/mux/mpeg/ps.c
View file @
dc8a7d67
...
@@ -189,7 +189,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
...
@@ -189,7 +189,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
msg_Dbg
(
p_mux
,
"adding input codec=%4.4s"
,
(
char
*
)
&
p_input
->
p_fmt
->
i_codec
);
msg_Dbg
(
p_mux
,
"adding input codec=%4.4s"
,
(
char
*
)
&
p_input
->
p_fmt
->
i_codec
);
p_input
->
p_sys
=
(
void
*
)
p_stream
=
malloc
(
sizeof
(
ps_stream_t
)
);
p_input
->
p_sys
=
p_stream
=
malloc
(
sizeof
(
ps_stream_t
)
);
/* Init this new stream */
/* Init this new stream */
switch
(
p_input
->
p_fmt
->
i_codec
)
switch
(
p_input
->
p_fmt
->
i_codec
)
...
...
modules/mux/mpeg/ts.c
View file @
dc8a7d67
...
@@ -472,7 +472,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
...
@@ -472,7 +472,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
sout_mux_sys_t
*
p_sys
=
p_mux
->
p_sys
;
sout_mux_sys_t
*
p_sys
=
p_mux
->
p_sys
;
ts_stream_t
*
p_stream
;
ts_stream_t
*
p_stream
;
p_input
->
p_sys
=
(
void
*
)
p_stream
=
malloc
(
sizeof
(
ts_stream_t
)
);
p_input
->
p_sys
=
p_stream
=
malloc
(
sizeof
(
ts_stream_t
)
);
/* Init this new stream */
/* Init this new stream */
p_stream
->
i_pid
=
AllocatePID
(
p_sys
,
p_input
->
p_fmt
->
i_cat
);
p_stream
->
i_pid
=
AllocatePID
(
p_sys
,
p_input
->
p_fmt
->
i_cat
);
...
...
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