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
7660c135
Commit
7660c135
authored
Mar 17, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/segment: Fix "occured" typo
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
f875ba48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
segment.c
libavformat/segment.c
+1
-1
No files found.
libavformat/segment.c
View file @
7660c135
...
@@ -407,7 +407,7 @@ static int segment_end(AVFormatContext *s, int write_trailer, int is_last)
...
@@ -407,7 +407,7 @@ static int segment_end(AVFormatContext *s, int write_trailer, int is_last)
rate
=
s
->
streams
[
i
]
->
avg_frame_rate
;
/* Get fps from the video stream */
rate
=
s
->
streams
[
i
]
->
avg_frame_rate
;
/* Get fps from the video stream */
err
=
av_timecode_init_from_string
(
&
tc
,
rate
,
tcr
->
value
,
s
);
err
=
av_timecode_init_from_string
(
&
tc
,
rate
,
tcr
->
value
,
s
);
if
(
err
<
0
)
{
if
(
err
<
0
)
{
av_log
(
s
,
AV_LOG_WARNING
,
"Could not increment timecode, error occured during timecode creation."
);
av_log
(
s
,
AV_LOG_WARNING
,
"Could not increment timecode, error occur
r
ed during timecode creation."
);
break
;
break
;
}
}
tc
.
start
+=
(
int
)((
seg
->
cur_entry
.
end_time
-
seg
->
cur_entry
.
start_time
)
*
av_q2d
(
rate
));
/* increment timecode */
tc
.
start
+=
(
int
)((
seg
->
cur_entry
.
end_time
-
seg
->
cur_entry
.
start_time
)
*
av_q2d
(
rate
));
/* increment timecode */
...
...
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