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
3c8b5b9c
Commit
3c8b5b9c
authored
Aug 25, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp4: reduce space in debug-tree
parent
3016216b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+4
-4
No files found.
modules/demux/mp4/libmp4.c
View file @
3c8b5b9c
...
...
@@ -3097,20 +3097,20 @@ static void __MP4_BoxDumpStructure( stream_t *s,
unsigned
int
i
;
char
str
[
512
];
if
(
i_level
>=
(
sizeof
(
str
)
-
1
)
/
5
)
if
(
i_level
>=
(
sizeof
(
str
)
-
1
)
/
4
)
return
;
memset
(
str
,
' '
,
sizeof
(
str
)
);
for
(
i
=
0
;
i
<
i_level
;
i
++
)
{
str
[
i
*
5
]
=
'|'
;
str
[
i
*
4
]
=
'|'
;
}
if
(
MP4_BOX_TYPE_ASCII
()
)
snprintf
(
&
str
[
i_level
*
5
],
sizeof
(
str
)
-
5
*
i_level
,
snprintf
(
&
str
[
i_level
*
4
],
sizeof
(
str
)
-
4
*
i_level
,
"+ %4.4s size %d"
,
(
char
*
)
&
p_box
->
i_type
,
(
uint32_t
)
p_box
->
i_size
);
else
snprintf
(
&
str
[
i_level
*
5
],
sizeof
(
str
)
-
5
*
i_level
,
snprintf
(
&
str
[
i_level
*
4
],
sizeof
(
str
)
-
4
*
i_level
,
"+ c%3.3s size %d"
,
(
char
*
)
&
p_box
->
i_type
+
1
,
(
uint32_t
)
p_box
->
i_size
);
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