avformat/segment: Fix "occured" typo

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-03-17 12:17:44 +01:00
parent f875ba4873
commit 7660c135a3

View File

@ -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 */