Mercurial > libavformat.hg
changeset 3555:7ae5e02af8d9 libavformat
indent
author | michael |
---|---|
date | Tue, 08 Jul 2008 23:26:26 +0000 |
parents | e1e79e91af96 |
children | 5ad678c7e341 |
files | utils.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Tue Jul 08 23:25:01 2008 +0000 +++ b/utils.c Tue Jul 08 23:26:26 2008 +0000 @@ -747,7 +747,7 @@ 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 @@ 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; } }