summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-07-08 23:26:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-07-08 23:26:26 +0000
commitcdb5af79e386c73cd8194e1f7e61f4b5cc743419 (patch)
tree051812b4f598337203120a448fb121e6b4604bc6 /libavformat
parent7efeb73a5a2dcf0018cd1e7e2a3faf7de16e4cb7 (diff)
indent
Originally committed as revision 14133 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index b90436a977..20df8b7d7b 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -747,7 +747,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
if (st->last_IP_duration == 0)
st->last_IP_duration = pkt->duration;
if(pkt->dts != AV_NOPTS_VALUE)
- st->cur_dts = pkt->dts + st->last_IP_duration;
+ st->cur_dts = pkt->dts + st->last_IP_duration;
st->last_IP_duration = pkt->duration;
st->last_IP_pts= pkt->pts;
/* cannot compute PTS if not present (we can compute it only
@@ -770,7 +770,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
pkt->pts = st->cur_dts;
pkt->dts = pkt->pts;
if(pkt->pts != AV_NOPTS_VALUE)
- st->cur_dts = pkt->pts + pkt->duration;
+ st->cur_dts = pkt->pts + pkt->duration;
}
}