Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
4efdadf6
Commit
4efdadf6
authored
May 05, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: libmp4: don't return empty root
parent
408d124b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+6
-1
No files found.
modules/demux/mp4/libmp4.c
View file @
4efdadf6
...
@@ -4664,7 +4664,12 @@ MP4_Box_t *MP4_BoxGetNextChunk( stream_t *s )
...
@@ -4664,7 +4664,12 @@ MP4_Box_t *MP4_BoxGetNextChunk( stream_t *s )
MP4_ReadBoxContainerChildren
(
s
,
p_fakeroot
,
stoplist
);
MP4_ReadBoxContainerChildren
(
s
,
p_fakeroot
,
stoplist
);
p_tmp_box
=
p_fakeroot
->
p_first
;
p_tmp_box
=
p_fakeroot
->
p_first
;
while
(
p_tmp_box
)
if
(
p_tmp_box
==
NULL
)
{
MP4_BoxFree
(
p_fakeroot
);
return
NULL
;
}
else
while
(
p_tmp_box
)
{
{
p_fakeroot
->
i_size
+=
p_tmp_box
->
i_size
;
p_fakeroot
->
i_size
+=
p_tmp_box
->
i_size
;
p_tmp_box
=
p_tmp_box
->
p_next
;
p_tmp_box
=
p_tmp_box
->
p_next
;
...
...
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