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
59453725
Commit
59453725
authored
Feb 08, 2009
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless return
Originally committed as revision 17050 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
425c9962
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
mxfenc.c
libavformat/mxfenc.c
+4
-6
No files found.
libavformat/mxfenc.c
View file @
59453725
...
...
@@ -852,18 +852,18 @@ static unsigned klv_fill_size(uint64_t size)
return
pad
&
(
KAG_SIZE
-
1
);
}
static
int
mxf_write_index_table_segment
(
AVFormatContext
*
s
)
static
void
mxf_write_index_table_segment
(
AVFormatContext
*
s
)
{
MXFContext
*
mxf
=
s
->
priv_data
;
ByteIOContext
*
pb
=
s
->
pb
;
int
i
,
j
,
ret
;
int
i
,
j
;
int
temporal_reordering
=
0
;
int
last_key_index
=
0
,
key_index
=
0
;
av_log
(
s
,
AV_LOG_DEBUG
,
"edit units count %d
\n
"
,
mxf
->
edit_units_count
);
put_buffer
(
pb
,
index_table_segment_key
,
16
);
ret
=
klv_encode_ber_length
(
pb
,
109
+
(
s
->
nb_streams
+
1
)
*
6
+
klv_encode_ber_length
(
pb
,
109
+
(
s
->
nb_streams
+
1
)
*
6
+
mxf
->
edit_units_count
*
(
11
+
mxf
->
slice_count
*
4
));
// instance id
...
...
@@ -965,8 +965,6 @@ static int mxf_write_index_table_segment(AVFormatContext *s)
if
(
s
->
nb_streams
>
1
)
put_be32
(
pb
,
mxf
->
index_entries
[
i
].
slice_offset
);
}
return
ret
;
}
static
void
mxf_write_partition
(
AVFormatContext
*
s
,
int
bodysid
,
...
...
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