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
77abe5e8
Commit
77abe5e8
authored
Jun 04, 2007
by
Aurelien Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: indentation
Originally committed as revision 9218 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
eabb8ba4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
matroskadec.c
libavformat/matroskadec.c
+15
-15
No files found.
libavformat/matroskadec.c
View file @
77abe5e8
...
@@ -2426,24 +2426,24 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size,
...
@@ -2426,24 +2426,24 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size,
matroska_queue_packet
(
matroska
,
pkt
);
matroska_queue_packet
(
matroska
,
pkt
);
}
}
}
else
{
}
else
{
pkt
=
av_mallocz
(
sizeof
(
AVPacket
));
pkt
=
av_mallocz
(
sizeof
(
AVPacket
));
/* XXX: prevent data copy... */
/* XXX: prevent data copy... */
if
(
av_new_packet
(
pkt
,
slice_size
)
<
0
)
{
if
(
av_new_packet
(
pkt
,
slice_size
)
<
0
)
{
res
=
AVERROR_NOMEM
;
res
=
AVERROR_NOMEM
;
n
=
laces
-
1
;
n
=
laces
-
1
;
break
;
break
;
}
}
memcpy
(
pkt
->
data
,
data
+
slice_offset
,
slice_size
);
memcpy
(
pkt
->
data
,
data
+
slice_offset
,
slice_size
);
if
(
n
==
0
)
if
(
n
==
0
)
pkt
->
flags
=
is_keyframe
;
pkt
->
flags
=
is_keyframe
;
pkt
->
stream_index
=
matroska
->
tracks
[
track
]
->
stream_index
;
pkt
->
stream_index
=
matroska
->
tracks
[
track
]
->
stream_index
;
pkt
->
pts
=
timecode
;
pkt
->
pts
=
timecode
;
pkt
->
pos
=
pos
;
pkt
->
pos
=
pos
;
pkt
->
duration
=
duration
;
pkt
->
duration
=
duration
;
matroska_queue_packet
(
matroska
,
pkt
);
matroska_queue_packet
(
matroska
,
pkt
);
}
}
if
(
timecode
!=
AV_NOPTS_VALUE
)
if
(
timecode
!=
AV_NOPTS_VALUE
)
...
...
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