mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-30 15:33:41 +00:00
avformat/segment: Fix "occured" typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
f875ba4873
commit
7660c135a3
@ -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 */
|
||||
err = av_timecode_init_from_string(&tc, rate, tcr->value, s);
|
||||
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 occurred during timecode creation.");
|
||||
break;
|
||||
}
|
||||
tc.start += (int)((seg->cur_entry.end_time - seg->cur_entry.start_time) * av_q2d(rate));/* increment timecode */
|
||||
|
Loading…
Reference in New Issue
Block a user