Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
59ca29a5
Commit
59ca29a5
authored
Jul 26, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dump: Use correct printf conversion specifiers for POSIX int types
parent
4f8cf0dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dump.c
libavformat/dump.c
+3
-3
No files found.
libavformat/dump.c
View file @
59ca29a5
...
...
@@ -156,7 +156,7 @@ static void dump_paramchange(void *ctx, AVPacketSideData *sd)
channels
=
AV_RL32
(
data
);
data
+=
4
;
size
-=
4
;
av_log
(
ctx
,
AV_LOG_INFO
,
"channel count %
d
, "
,
channels
);
av_log
(
ctx
,
AV_LOG_INFO
,
"channel count %
"
PRIu32
"
, "
,
channels
);
}
if
(
flags
&
AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT
)
{
if
(
size
<
8
)
...
...
@@ -173,7 +173,7 @@ static void dump_paramchange(void *ctx, AVPacketSideData *sd)
sample_rate
=
AV_RL32
(
data
);
data
+=
4
;
size
-=
4
;
av_log
(
ctx
,
AV_LOG_INFO
,
"sample_rate %
d
, "
,
sample_rate
);
av_log
(
ctx
,
AV_LOG_INFO
,
"sample_rate %
"
PRIu32
"
, "
,
sample_rate
);
}
if
(
flags
&
AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS
)
{
if
(
size
<
8
)
...
...
@@ -184,7 +184,7 @@ static void dump_paramchange(void *ctx, AVPacketSideData *sd)
height
=
AV_RL32
(
data
);
data
+=
4
;
size
-=
4
;
av_log
(
ctx
,
AV_LOG_INFO
,
"width %
d height %d"
,
width
,
height
);
av_log
(
ctx
,
AV_LOG_INFO
,
"width %
"
PRIu32
" height %"
PRIu32
,
width
,
height
);
}
return
;
...
...
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