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
3c802585
Commit
3c802585
authored
Sep 13, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicit casts to proper integer types when formatting
parent
84ab2958
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
modules/demux/vobsub.c
modules/demux/vobsub.c
+3
-1
modules/misc/audioscrobbler.c
modules/misc/audioscrobbler.c
+2
-2
No files found.
modules/demux/vobsub.c
View file @
3c802585
...
@@ -626,7 +626,9 @@ static int ParseVobSubIDX( demux_t *p_demux )
...
@@ -626,7 +626,9 @@ static int ParseVobSubIDX( demux_t *p_demux )
ms
)
*
1000
;
ms
)
*
1000
;
current_tk
->
i_delay
=
current_tk
->
i_delay
+
(
i_gap
*
i_sign
);
current_tk
->
i_delay
=
current_tk
->
i_delay
+
(
i_gap
*
i_sign
);
msg_Dbg
(
p_demux
,
"sign: %+d gap: %+lld global delay: %+lld"
,
i_sign
,
i_gap
,
current_tk
->
i_delay
);
msg_Dbg
(
p_demux
,
"sign: %+d gap: %+lld global delay: %+lld"
,
i_sign
,
(
long
long
)
i_gap
,
(
long
long
)
current_tk
->
i_delay
);
}
}
}
}
}
}
...
...
modules/misc/audioscrobbler.c
View file @
3c802585
...
@@ -129,7 +129,7 @@ void DeleteQueue ( audioscrobbler_queue_t *p_queue );
...
@@ -129,7 +129,7 @@ void DeleteQueue ( audioscrobbler_queue_t *p_queue );
/* HTTP POST request : to submit data */
/* HTTP POST request : to submit data */
#define POST_REQUEST "POST /%s HTTP/1.1\n" \
#define POST_REQUEST "POST /%s HTTP/1.1\n" \
"Accept-Encoding: identity\n" \
"Accept-Encoding: identity\n" \
"Content-length: %
d
\n" \
"Content-length: %
u
\n" \
"Connection: close\n" \
"Connection: close\n" \
"Content-type: application/x-www-form-urlencoded\n" \
"Content-type: application/x-www-form-urlencoded\n" \
"Host: %s\n" \
"Host: %s\n" \
...
@@ -421,7 +421,7 @@ static void Main( intf_thread_t *p_this )
...
@@ -421,7 +421,7 @@ static void Main( intf_thread_t *p_this )
i_net_ret
=
net_Printf
(
i_net_ret
=
net_Printf
(
VLC_OBJECT
(
p_this
),
i_post_socket
,
NULL
,
VLC_OBJECT
(
p_this
),
i_post_socket
,
NULL
,
POST_REQUEST
,
p_sys
->
psz_submit_file
,
POST_REQUEST
,
p_sys
->
psz_submit_file
,
strlen
(
psz_submit
),
p_sys
->
psz_submit_file
,
(
unsigned
)
strlen
(
psz_submit
),
p_sys
->
psz_submit_file
,
VERSION
,
psz_submit
VERSION
,
psz_submit
);
);
...
...
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