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
12f3278d
Commit
12f3278d
authored
Mar 11, 2007
by
Aurelien Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reindent after last commit
Originally committed as revision 8330 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
0fb7a2b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
matroska.c
libavformat/matroska.c
+27
-27
No files found.
libavformat/matroska.c
View file @
12f3278d
...
@@ -2701,40 +2701,40 @@ matroska_read_packet (AVFormatContext *s,
...
@@ -2701,40 +2701,40 @@ matroska_read_packet (AVFormatContext *s,
/* Read stream until we have a packet queued. */
/* Read stream until we have a packet queued. */
while
(
matroska_deliver_packet
(
matroska
,
pkt
))
{
while
(
matroska_deliver_packet
(
matroska
,
pkt
))
{
/* Have we already reached the end? */
/* Have we already reached the end? */
if
(
matroska
->
done
)
if
(
matroska
->
done
)
return
AVERROR_IO
;
while
(
res
==
0
)
{
if
(
!
(
id
=
ebml_peek_id
(
matroska
,
&
matroska
->
level_up
)))
{
return
AVERROR_IO
;
return
AVERROR_IO
;
}
else
if
(
matroska
->
level_up
)
{
matroska
->
level_up
--
;
break
;
}
switch
(
id
)
{
while
(
res
==
0
)
{
case
MATROSKA_ID_CLUSTER
:
if
(
!
(
id
=
ebml_peek_id
(
matroska
,
&
matroska
->
level_up
)))
{
if
((
res
=
ebml_read_master
(
matroska
,
&
id
))
<
0
)
return
AVERROR_IO
;
break
;
}
else
if
(
matroska
->
level_up
)
{
if
((
res
=
matroska_parse_cluster
(
matroska
))
==
0
)
matroska
->
level_up
--
;
res
=
1
;
/* Parsed one cluster, let's get out. */
break
;
break
;
}
default:
switch
(
id
)
{
case
EBML_ID_VOID
:
case
MATROSKA_ID_CLUSTER
:
res
=
ebml_read_skip
(
matroska
);
if
((
res
=
ebml_read_master
(
matroska
,
&
id
))
<
0
)
break
;
break
;
}
if
((
res
=
matroska_parse_cluster
(
matroska
))
==
0
)
res
=
1
;
/* Parsed one cluster, let's get out. */
break
;
if
(
matroska
->
level_up
)
{
default:
matroska
->
level_up
--
;
case
EBML_ID_VOID
:
break
;
res
=
ebml_read_skip
(
matroska
);
break
;
}
if
(
matroska
->
level_up
)
{
matroska
->
level_up
--
;
break
;
}
}
}
}
if
(
res
==
-
1
)
if
(
res
==
-
1
)
matroska
->
done
=
1
;
matroska
->
done
=
1
;
}
}
return
0
;
return
0
;
...
...
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