Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
b9dc215e
Commit
b9dc215e
authored
May 30, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix variables types.
parent
fec5ea6a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
modules/control/http/http.c
modules/control/http/http.c
+1
-1
modules/demux/ps.c
modules/demux/ps.c
+1
-1
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+6
-6
No files found.
modules/control/http/http.c
View file @
b9dc215e
...
@@ -261,7 +261,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -261,7 +261,7 @@ static int Open( vlc_object_t *p_this )
free
(
psz_src
);
free
(
psz_src
);
if
(
var_Inherit
Integer
(
p_intf
,
"http-album-art"
)
)
if
(
var_Inherit
Bool
(
p_intf
,
"http-album-art"
)
)
{
{
/* FIXME: we're leaking h */
/* FIXME: we're leaking h */
httpd_handler_sys_t
*
h
=
malloc
(
sizeof
(
httpd_handler_sys_t
)
);
httpd_handler_sys_t
*
h
=
malloc
(
sizeof
(
httpd_handler_sys_t
)
);
...
...
modules/demux/ps.c
View file @
b9dc215e
...
@@ -240,7 +240,7 @@ static void FindLength( demux_t *p_demux )
...
@@ -240,7 +240,7 @@ static void FindLength( demux_t *p_demux )
int64_t
i_current_pos
=
-
1
,
i_size
=
0
,
i_end
=
0
;
int64_t
i_current_pos
=
-
1
,
i_size
=
0
,
i_end
=
0
;
int
i
;
int
i
;
if
(
!
var_CreateGet
Integer
(
p_demux
,
"ps-trust-timestamps"
)
)
if
(
!
var_CreateGet
Bool
(
p_demux
,
"ps-trust-timestamps"
)
)
return
;
return
;
if
(
p_sys
->
i_length
==
-
1
)
/* First time */
if
(
p_sys
->
i_length
==
-
1
)
/* First time */
...
...
modules/services_discovery/sap.c
View file @
b9dc215e
...
@@ -319,11 +319,11 @@ static int Open( vlc_object_t *p_this )
...
@@ -319,11 +319,11 @@ static int Open( vlc_object_t *p_this )
p_sys
->
pi_fd
=
NULL
;
p_sys
->
pi_fd
=
NULL
;
p_sys
->
i_fd
=
0
;
p_sys
->
i_fd
=
0
;
p_sys
->
b_strict
=
var_CreateGet
Integer
(
p_sd
,
"sap-strict"
);
p_sys
->
b_strict
=
var_CreateGet
Bool
(
p_sd
,
"sap-strict"
);
p_sys
->
b_parse
=
var_CreateGet
Integer
(
p_sd
,
"sap-parse"
);
p_sys
->
b_parse
=
var_CreateGet
Bool
(
p_sd
,
"sap-parse"
);
#if 0
#if 0
if( var_CreateGet
Integer
( p_sd, "sap-cache" ) )
if( var_CreateGet
Bool
( p_sd, "sap-cache" ) )
{
{
CacheLoad( p_sd );
CacheLoad( p_sd );
}
}
...
@@ -353,7 +353,7 @@ static int OpenDemux( vlc_object_t *p_this )
...
@@ -353,7 +353,7 @@ static int OpenDemux( vlc_object_t *p_this )
int
errval
=
VLC_EGENERIC
;
int
errval
=
VLC_EGENERIC
;
size_t
i_len
;
size_t
i_len
;
if
(
!
var_CreateGet
Integer
(
p_demux
,
"sap-parse"
)
)
if
(
!
var_CreateGet
Bool
(
p_demux
,
"sap-parse"
)
)
{
{
/* We want livedotcom module to parse this SDP file */
/* We want livedotcom module to parse this SDP file */
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
@@ -495,14 +495,14 @@ static void *Run( void *data )
...
@@ -495,14 +495,14 @@ static void *Run( void *data )
* Winsock 1.1 from Windows 95, if not Windows 3.1.
* Winsock 1.1 from Windows 95, if not Windows 3.1.
* Anyway, to avoid a 30 seconds delay for failed IPv6 socket creation,
* Anyway, to avoid a 30 seconds delay for failed IPv6 socket creation,
* we have to open sockets in Run() rather than Open(). */
* we have to open sockets in Run() rather than Open(). */
if
(
var_CreateGet
Integer
(
p_sd
,
"sap-ipv4"
)
)
if
(
var_CreateGet
Bool
(
p_sd
,
"sap-ipv4"
)
)
{
{
InitSocket
(
p_sd
,
SAP_V4_GLOBAL_ADDRESS
,
SAP_PORT
);
InitSocket
(
p_sd
,
SAP_V4_GLOBAL_ADDRESS
,
SAP_PORT
);
InitSocket
(
p_sd
,
SAP_V4_ORG_ADDRESS
,
SAP_PORT
);
InitSocket
(
p_sd
,
SAP_V4_ORG_ADDRESS
,
SAP_PORT
);
InitSocket
(
p_sd
,
SAP_V4_LOCAL_ADDRESS
,
SAP_PORT
);
InitSocket
(
p_sd
,
SAP_V4_LOCAL_ADDRESS
,
SAP_PORT
);
InitSocket
(
p_sd
,
SAP_V4_LINK_ADDRESS
,
SAP_PORT
);
InitSocket
(
p_sd
,
SAP_V4_LINK_ADDRESS
,
SAP_PORT
);
}
}
if
(
var_CreateGet
Integer
(
p_sd
,
"sap-ipv6"
)
)
if
(
var_CreateGet
Bool
(
p_sd
,
"sap-ipv6"
)
)
{
{
char
psz_address
[
NI_MAXNUMERICHOST
]
=
"ff02::2:7ffe%"
;
char
psz_address
[
NI_MAXNUMERICHOST
]
=
"ff02::2:7ffe%"
;
...
...
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