summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorRodger Combs <rodger.combs@gmail.com>2016-03-06 19:38:39 -0600
committerRodger Combs <rodger.combs@gmail.com>2016-04-02 13:31:26 -0500
commit44a9395b5acf332823b9ac0ebd0e966b190b02f5 (patch)
tree4c2a8510eccc6d4acea124d92a4ecf8cbab96265 /libavformat
parentc9ad357aeb6a78ff657e5c59dcb7db45332ecda7 (diff)
lavf/segment: style nit
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 2931905347..4c1e1156af 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -845,7 +845,7 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt)
(seg->cut_pending || seg->frame_count >= start_frame ||
(pkt->pts != AV_NOPTS_VALUE &&
av_compare_ts(pkt->pts, st->time_base,
- end_pts-seg->time_delta, AV_TIME_BASE_Q) >= 0))) {
+ end_pts - seg->time_delta, AV_TIME_BASE_Q) >= 0))) {
/* sanitize end time in case last packet didn't have a defined duration */
if (seg->cur_entry.last_duration == 0)
seg->cur_entry.end_time = (double)pkt->pts * av_q2d(st->time_base);