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
8917f566
Commit
8917f566
authored
Sep 04, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect type size on 64bits
parent
6a8601da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+4
-2
modules/access_filter/bandwidth.c
modules/access_filter/bandwidth.c
+2
-1
modules/misc/gnutls.c
modules/misc/gnutls.c
+1
-1
No files found.
modules/access/mms/mmstu.c
View file @
8917f566
...
@@ -658,10 +658,12 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
...
@@ -658,10 +658,12 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
GetDWLE
(
p_sys
->
p_cmd
+
MMS_CMD_HEADERSIZE
+
60
);
GetDWLE
(
p_sys
->
p_cmd
+
MMS_CMD_HEADERSIZE
+
60
);
msg_Dbg
(
p_access
,
msg_Dbg
(
p_access
,
"answer 0x06 flags:0x%8.8x media_length:%us packet_length:%ul packet_count:%u max_bit_rate:%d header_size:%d"
,
"answer 0x06 flags:0x%8.8x media_length:%us "
"packet_length:%ul packet_count:%d max_bit_rate:%d "
"header_size:%d"
,
p_sys
->
i_flags_broadcast
,
p_sys
->
i_flags_broadcast
,
p_sys
->
i_media_length
,
p_sys
->
i_media_length
,
p_sys
->
i_packet_length
,
(
unsigned
)
p_sys
->
i_packet_length
,
p_sys
->
i_packet_count
,
p_sys
->
i_packet_count
,
p_sys
->
i_max_bit_rate
,
p_sys
->
i_max_bit_rate
,
p_sys
->
i_header_size
);
p_sys
->
i_header_size
);
...
...
modules/access_filter/bandwidth.c
View file @
8917f566
...
@@ -90,7 +90,8 @@ static int Open (vlc_object_t *obj)
...
@@ -90,7 +90,8 @@ static int Open (vlc_object_t *obj)
p_sys
->
bandwidth
=
var_CreateGetInteger
(
access
,
"access-bandwidth"
);
p_sys
->
bandwidth
=
var_CreateGetInteger
(
access
,
"access-bandwidth"
);
p_sys
->
last_time
=
mdate
();
p_sys
->
last_time
=
mdate
();
msg_Dbg
(
obj
,
"bandwidth limit: %u bytes/s"
,
p_sys
->
bandwidth
);
msg_Dbg
(
obj
,
"bandwidth limit: %lu bytes/s"
,
(
unsigned
long
)
p_sys
->
bandwidth
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
modules/misc/gnutls.c
View file @
8917f566
...
@@ -318,7 +318,7 @@ gnutls_HandshakeAndValidate( tls_session_t *session )
...
@@ -318,7 +318,7 @@ gnutls_HandshakeAndValidate( tls_session_t *session )
/* certificate (host)name verification */
/* certificate (host)name verification */
const
gnutls_datum
*
data
=
gnutls_certificate_get_peers
(
p_sys
->
session
,
const
gnutls_datum
*
data
=
gnutls_certificate_get_peers
(
p_sys
->
session
,
&
(
size_t
){
0
}
);
&
(
unsigned
){
0
}
);
if
(
data
==
NULL
)
if
(
data
==
NULL
)
{
{
msg_Err
(
session
,
"Peer certificate not available"
);
msg_Err
(
session
,
"Peer certificate not available"
);
...
...
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