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
7e765ed1
Commit
7e765ed1
authored
Jul 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove legacy casts
parent
d601ddbb
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
21 additions
and
22 deletions
+21
-22
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+2
-2
modules/access/dv.c
modules/access/dv.c
+1
-1
modules/access/dvb/access.c
modules/access/dvb/access.c
+1
-1
modules/access/dvdread.c
modules/access/dvdread.c
+1
-1
modules/access/ftp.c
modules/access/ftp.c
+1
-1
modules/access/http.c
modules/access/http.c
+1
-1
modules/access/jack.c
modules/access/jack.c
+1
-2
modules/access/mmap.c
modules/access/mmap.c
+1
-1
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+1
-1
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+1
-1
modules/access/pvr.c
modules/access/pvr.c
+1
-1
modules/access/rtsp/access.c
modules/access/rtsp/access.c
+1
-1
modules/access/screen/screen.c
modules/access/screen/screen.c
+1
-1
modules/access/sftp.c
modules/access/sftp.c
+1
-1
modules/access/smb.c
modules/access/smb.c
+1
-1
modules/access/tcp.c
modules/access/tcp.c
+1
-1
modules/access/udp.c
modules/access/udp.c
+1
-1
modules/access/v4l.c
modules/access/v4l.c
+1
-1
modules/access/vcd/vcd.c
modules/access/vcd/vcd.c
+1
-1
modules/demux/live555.cpp
modules/demux/live555.cpp
+1
-1
No files found.
modules/access/dshow/dshow.cpp
View file @
7e765ed1
...
...
@@ -1884,7 +1884,7 @@ static int AccessControl( access_t *p_access, int i_query, va_list args )
/* */
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"dshow-caching"
)
*
1000
;
*
pi_64
=
var_GetInteger
(
p_access
,
"dshow-caching"
)
*
1000
;
break
;
/* */
...
...
@@ -1924,7 +1924,7 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args )
case
DEMUX_GET_PTS_DELAY
:
pi64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi64
=
(
int64_t
)
var_GetInteger
(
p_demux
,
"dshow-caching"
)
*
1000
;
*
pi64
=
var_GetInteger
(
p_demux
,
"dshow-caching"
)
*
1000
;
return
VLC_SUCCESS
;
case
DEMUX_GET_TIME
:
...
...
modules/access/dv.c
View file @
7e765ed1
...
...
@@ -292,7 +292,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
case
ACCESS_GET_PTS_DELAY
:
*
va_arg
(
args
,
int64_t
*
)
=
(
int64_t
)
var_GetInteger
(
p_access
,
"dv-caching"
)
*
1000
;
=
var_GetInteger
(
p_access
,
"dv-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/dvb/access.c
View file @
7e765ed1
...
...
@@ -728,7 +728,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"dvb-caching"
)
*
1000
;
*
pi_64
=
var_GetInteger
(
p_access
,
"dvb-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/dvdread.c
View file @
7e765ed1
...
...
@@ -426,7 +426,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case
DEMUX_GET_PTS_DELAY
:
pi64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi64
=
(
int64_t
)
var_GetInteger
(
p_demux
,
"dvdread-caching"
)
*
1000
;
*
pi64
=
var_GetInteger
(
p_demux
,
"dvdread-caching"
)
*
1000
;
return
VLC_SUCCESS
;
/* TODO implement others */
...
...
modules/access/ftp.c
View file @
7e765ed1
...
...
@@ -595,7 +595,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"ftp-caching"
)
*
INT64_C
(
1000
);
*
pi_64
=
var_GetInteger
(
p_access
,
"ftp-caching"
)
*
INT64_C
(
1000
);
break
;
/* */
...
...
modules/access/http.c
View file @
7e765ed1
...
...
@@ -1074,7 +1074,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"http-caching"
)
*
1000
;
*
pi_64
=
var_GetInteger
(
p_access
,
"http-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/jack.c
View file @
7e765ed1
...
...
@@ -364,8 +364,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case
DEMUX_GET_PTS_DELAY
:
pi64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi64
=
(
int64_t
)
var_GetInteger
(
p_demux
,
"jack-input-caching"
)
*
1000
;
*
pi64
=
var_GetInteger
(
p_demux
,
"jack-input-caching"
)
*
1000
;
return
VLC_SUCCESS
;
case
DEMUX_GET_TIME
:
...
...
modules/access/mmap.c
View file @
7e765ed1
...
...
@@ -290,7 +290,7 @@ static int Control (access_t *p_access, int query, va_list args)
case
ACCESS_GET_PTS_DELAY
:
{
int
delay_ms
=
var_CreateGetInteger
(
p_access
,
"file-caching"
);
int
64_t
delay_ms
=
var_CreateGetInteger
(
p_access
,
"file-caching"
);
*
va_arg
(
args
,
int64_t
*
)
=
delay_ms
*
INT64_C
(
1000
);
return
VLC_SUCCESS
;
}
...
...
modules/access/mms/mmsh.c
View file @
7e765ed1
...
...
@@ -250,7 +250,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"mms-caching"
)
*
INT64_C
(
1000
);
*
pi_64
=
var_GetInteger
(
p_access
,
"mms-caching"
)
*
INT64_C
(
1000
);
break
;
case
ACCESS_GET_PRIVATE_ID_STATE
:
...
...
modules/access/mms/mmstu.c
View file @
7e765ed1
...
...
@@ -253,7 +253,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"mms-caching"
)
*
INT64_C
(
1000
);
*
pi_64
=
var_GetInteger
(
p_access
,
"mms-caching"
)
*
INT64_C
(
1000
);
break
;
case
ACCESS_GET_PRIVATE_ID_STATE
:
...
...
modules/access/pvr.c
View file @
7e765ed1
...
...
@@ -970,7 +970,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"pvr-caching"
)
*
1000
;
*
pi_64
=
var_GetInteger
(
p_access
,
"pvr-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/rtsp/access.c
View file @
7e765ed1
...
...
@@ -332,7 +332,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
case
ACCESS_GET_PTS_DELAY
:
*
va_arg
(
args
,
int64_t
*
)
=
(
int64_t
)
var_GetInteger
(
p_access
,
"realrtsp-caching"
)
*
1000
;
var_GetInteger
(
p_access
,
"realrtsp-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/screen/screen.c
View file @
7e765ed1
...
...
@@ -301,7 +301,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case
DEMUX_GET_PTS_DELAY
:
pi64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi64
=
(
int64_t
)
var_GetInteger
(
p_demux
,
"screen-caching"
)
*
1000
;
*
pi64
=
var_GetInteger
(
p_demux
,
"screen-caching"
)
*
1000
;
return
VLC_SUCCESS
;
case
DEMUX_GET_TIME
:
...
...
modules/access/sftp.c
View file @
7e765ed1
...
...
@@ -309,7 +309,7 @@ static int Control( access_t* p_access, int i_query, va_list args )
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"sftp-caching"
)
*
INT64_C
(
1000
);
*
pi_64
=
var_GetInteger
(
p_access
,
"sftp-caching"
)
*
INT64_C
(
1000
);
break
;
case
ACCESS_SET_PAUSE_STATE
:
...
...
modules/access/smb.c
View file @
7e765ed1
...
...
@@ -335,7 +335,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
case
ACCESS_GET_PTS_DELAY
:
*
va_arg
(
args
,
int64_t
*
)
=
(
int64_t
)
var_GetInteger
(
p_access
,
"smb-caching"
)
*
1000
;
=
var_GetInteger
(
p_access
,
"smb-caching"
)
*
1000
;
break
;
case
ACCESS_SET_PAUSE_STATE
:
...
...
modules/access/tcp.c
View file @
7e765ed1
...
...
@@ -187,7 +187,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"tcp-caching"
)
*
INT64_C
(
1000
);
*
pi_64
=
var_GetInteger
(
p_access
,
"tcp-caching"
)
*
INT64_C
(
1000
);
break
;
/* */
...
...
modules/access/udp.c
View file @
7e765ed1
...
...
@@ -205,7 +205,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"udp-caching"
)
*
1000
;
*
pi_64
=
var_GetInteger
(
p_access
,
"udp-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/v4l.c
View file @
7e765ed1
...
...
@@ -444,7 +444,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case
DEMUX_GET_PTS_DELAY
:
pi64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi64
=
(
int64_t
)
var_GetInteger
(
p_demux
,
"v4l-caching"
)
*
1000
;
*
pi64
=
var_GetInteger
(
p_demux
,
"v4l-caching"
)
*
1000
;
return
VLC_SUCCESS
;
case
DEMUX_GET_TIME
:
...
...
modules/access/vcd/vcd.c
View file @
7e765ed1
...
...
@@ -257,7 +257,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case
ACCESS_GET_PTS_DELAY
:
*
va_arg
(
args
,
int64_t
*
)
=
(
int64_t
)
var_GetInteger
(
p_access
,
"vcd-caching"
)
*
1000
;
=
var_GetInteger
(
p_access
,
"vcd-caching"
)
*
1000
;
break
;
/* */
...
...
modules/demux/live555.cpp
View file @
7e765ed1
...
...
@@ -1476,7 +1476,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case
DEMUX_GET_PTS_DELAY
:
pi64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi64
=
(
int64_t
)
var_GetInteger
(
p_demux
,
"rtsp-caching"
)
*
1000
;
*
pi64
=
var_GetInteger
(
p_demux
,
"rtsp-caching"
)
*
1000
;
return
VLC_SUCCESS
;
default:
...
...
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