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
4d4dc1de
Commit
4d4dc1de
authored
Jun 15, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix printf format string (Use PRI* or zd when applicable)
parent
7d91581a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
modules/stream_filter/rar.c
modules/stream_filter/rar.c
+1
-1
modules/stream_out/raop.c
modules/stream_out/raop.c
+1
-1
modules/video_output/yuv.c
modules/video_output/yuv.c
+1
-1
No files found.
modules/stream_filter/rar.c
View file @
4d4dc1de
...
@@ -147,7 +147,7 @@ static int Open ( vlc_object_t *p_this )
...
@@ -147,7 +147,7 @@ static int Open ( vlc_object_t *p_this )
/* */
/* */
const
rar_file_t
*
p_file
=
p_sys
->
p_file
;
const
rar_file_t
*
p_file
=
p_sys
->
p_file
;
msg_Dbg
(
s
,
"Using RAR stream filter for '%s' %
lld(expected %lld
) bytes in %d chunks"
,
msg_Dbg
(
s
,
"Using RAR stream filter for '%s' %
"
PRId64
"(expected %"
PRId64
"
) bytes in %d chunks"
,
p_file
->
psz_name
,
p_file
->
i_real_size
,
p_file
->
i_size
,
p_file
->
i_chunk
);
p_file
->
psz_name
,
p_file
->
i_real_size
,
p_file
->
i_size
,
p_file
->
i_chunk
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
...
modules/stream_out/raop.c
View file @
4d4dc1de
...
@@ -1293,7 +1293,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -1293,7 +1293,7 @@ static int Open( vlc_object_t *p_this )
/* Random client instance */
/* Random client instance */
gcry_randomize
(
&
i_client_instance
,
sizeof
(
i_client_instance
),
gcry_randomize
(
&
i_client_instance
,
sizeof
(
i_client_instance
),
GCRY_STRONG_RANDOM
);
GCRY_STRONG_RANDOM
);
if
(
asprintf
(
&
p_sys
->
psz_client_instance
,
"%016
llX"
,
if
(
asprintf
(
&
p_sys
->
psz_client_instance
,
"%016
"
PRIX64
,
i_client_instance
)
<
0
)
i_client_instance
)
<
0
)
{
{
i_err
=
VLC_ENOMEM
;
i_err
=
VLC_ENOMEM
;
...
...
modules/video_output/yuv.c
View file @
4d4dc1de
...
@@ -320,7 +320,7 @@ static void WriteYUV( vout_thread_t *p_vout, video_format_t fmt,
...
@@ -320,7 +320,7 @@ static void WriteYUV( vout_thread_t *p_vout, video_format_t fmt,
i_written
=
fwrite
(
p_pic
->
p_data
,
1
,
i_bytes
,
p_sys
->
p_fd
);
i_written
=
fwrite
(
p_pic
->
p_data
,
1
,
i_bytes
,
p_sys
->
p_fd
);
if
(
i_written
!=
i_bytes
)
if
(
i_written
!=
i_bytes
)
{
{
msg_Warn
(
p_vout
,
"only %
d of %
d bytes written"
,
msg_Warn
(
p_vout
,
"only %
zd of %z
d bytes written"
,
i_written
,
i_bytes
);
i_written
,
i_bytes
);
}
}
}
}
...
...
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