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
0d881ef1
Commit
0d881ef1
authored
Oct 11, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp4: fix format string
parent
dbdd6348
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+6
-4
No files found.
modules/demux/mp4/libmp4.c
View file @
0d881ef1
...
@@ -4033,13 +4033,15 @@ static void MP4_BoxDumpStructure_Internal( stream_t *s,
...
@@ -4033,13 +4033,15 @@ static void MP4_BoxDumpStructure_Internal( stream_t *s,
}
}
if
(
MP4_BOX_TYPE_ASCII
()
)
if
(
MP4_BOX_TYPE_ASCII
()
)
snprintf
(
&
str
[
i_level
*
4
],
sizeof
(
str
)
-
4
*
i_level
,
snprintf
(
&
str
[
i_level
*
4
],
sizeof
(
str
)
-
4
*
i_level
,
"+ %4.4s size %"
PRIu64
" offset %ld%s"
,
"+ %4.4s size %"
PRIu64
" offset %ju%s"
,
(
char
*
)
&
p_box
->
i_type
,
p_box
->
i_size
,
p_box
->
i_pos
,
(
char
*
)
&
p_box
->
i_type
,
p_box
->
i_size
,
(
uintmax_t
)
p_box
->
i_pos
,
p_box
->
e_flags
&
BOX_FLAG_INCOMPLETE
?
" (\?\?\?\?)"
:
""
);
p_box
->
e_flags
&
BOX_FLAG_INCOMPLETE
?
" (\?\?\?\?)"
:
""
);
else
else
snprintf
(
&
str
[
i_level
*
4
],
sizeof
(
str
)
-
4
*
i_level
,
snprintf
(
&
str
[
i_level
*
4
],
sizeof
(
str
)
-
4
*
i_level
,
"+ c%3.3s size %"
PRIu64
" offset %ld%s"
,
"+ c%3.3s size %"
PRIu64
" offset %ju%s"
,
(
char
*
)
&
p_box
->
i_type
+
1
,
p_box
->
i_size
,
p_box
->
i_pos
,
(
char
*
)
&
p_box
->
i_type
+
1
,
p_box
->
i_size
,
(
uintmax_t
)
p_box
->
i_pos
,
p_box
->
e_flags
&
BOX_FLAG_INCOMPLETE
?
" (\?\?\?\?)"
:
""
);
p_box
->
e_flags
&
BOX_FLAG_INCOMPLETE
?
" (\?\?\?\?)"
:
""
);
msg_Dbg
(
s
,
"%s"
,
str
);
msg_Dbg
(
s
,
"%s"
,
str
);
}
}
...
...
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