Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
048c897e
Commit
048c897e
authored
May 29, 2009
by
JP Dinger
Browse files
A couple more obvious missing (int64_t) cast fixes.
parent
b01b54b0
Changes
7
Hide whitespace changes
Inline
Side-by-side
modules/access/bda/bda.c
View file @
048c897e
...
...
@@ -15,9 +15,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
*
along
with this program; if not, write to the Free Software
*
Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* You should have received a copy of the GNU General Public License
along
* with this program; if not, write to the Free Software
Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
...
...
@@ -556,7 +556,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
break
;
case
ACCESS_GET_PTS_DELAY
:
/* 5 */
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
var_GetInteger
(
p_access
,
"dvb-caching"
)
*
1000
;
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"dvb-caching"
)
*
1000
;
break
;
/* */
case
ACCESS_GET_TITLE_INFO
:
/* 6 */
...
...
modules/access/dv.c
View file @
048c897e
...
...
@@ -16,9 +16,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
*
along
with this program; if not, write to the Free Software
*
Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* You should have received a copy of the GNU General Public License
along
* with this program; if not, write to the Free Software
Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
...
...
@@ -312,7 +312,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
=
var_GetInteger
(
p_access
,
"dv-caching"
)
*
1000
;
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"dv-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/dvb/access.c
View file @
048c897e
...
...
@@ -18,9 +18,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
*
along
with this program; if not, write to the Free Software
*
Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* You should have received a copy of the GNU General Public License
along
* with this program; if not, write to the Free Software
Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
...
...
@@ -733,7 +733,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
=
var_GetInteger
(
p_access
,
"dvb-caching"
)
*
1000
;
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"dvb-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/rtp/rtp.c
View file @
048c897e
...
...
@@ -372,7 +372,7 @@ static int Control (demux_t *demux, int i_query, va_list args)
case
DEMUX_GET_PTS_DELAY
:
{
int64_t
*
v
=
va_arg
(
args
,
int64_t
*
);
*
v
=
p_sys
->
caching
*
1000
;
*
v
=
(
int64_t
)
p_sys
->
caching
*
1000
;
return
VLC_SUCCESS
;
}
...
...
modules/access/rtsp/access.c
View file @
048c897e
...
...
@@ -16,9 +16,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
*
along
with this program; if not, write to the Free Software
*
Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* You should have received a copy of the GNU General Public License
along
* with this program; if not, write to the Free Software
Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
...
...
@@ -343,7 +343,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
=
var_GetInteger
(
p_access
,
"realrtsp-caching"
)
*
1000
;
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"realrtsp-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/udp.c
View file @
048c897e
...
...
@@ -23,9 +23,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
*
along
with this program; if not, write to the Free Software
*
Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* You should have received a copy of the GNU General Public License
along
* with this program; if not, write to the Free Software
Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
...
...
@@ -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
=
var_GetInteger
(
p_access
,
"udp-caching"
)
*
1000
;
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"udp-caching"
)
*
1000
;
break
;
/* */
...
...
modules/access/vcd/vcd.c
View file @
048c897e
...
...
@@ -16,9 +16,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
*
along
with this program; if not, write to the Free Software
*
Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* You should have received a copy of the GNU General Public License
along
* with this program; if not, write to the Free Software
Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
...
...
@@ -261,7 +261,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
=
var_GetInteger
(
p_access
,
"vcd-caching"
)
*
1000
;
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"vcd-caching"
)
*
1000
;
break
;
/* */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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