Mercurial > libavformat.hg
changeset 3396:f7f09ceea992 libavformat
reindent
author | bcoudurier |
---|---|
date | Thu, 29 May 2008 00:54:33 +0000 |
parents | 330712116269 |
children | 76918939de90 |
files | movenc.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Thu May 29 00:54:09 2008 +0000 +++ b/movenc.c Thu May 29 00:54:33 2008 +0000 @@ -1607,12 +1607,12 @@ trk->cluster[trk->entry].dts = pkt->dts; trk->trackDuration = pkt->dts - trk->cluster[0].dts + pkt->duration; - if (pkt->dts != pkt->pts) - trk->hasBframes = 1; - trk->cluster[trk->entry].cts = pkt->pts - pkt->dts; - trk->cluster[trk->entry].key_frame = !!(pkt->flags & PKT_FLAG_KEY); - if(trk->cluster[trk->entry].key_frame) - trk->hasKeyframes++; + if (pkt->dts != pkt->pts) + trk->hasBframes = 1; + trk->cluster[trk->entry].cts = pkt->pts - pkt->dts; + trk->cluster[trk->entry].key_frame = !!(pkt->flags & PKT_FLAG_KEY); + if(trk->cluster[trk->entry].key_frame) + trk->hasKeyframes++; trk->entry++; trk->sampleCount += samplesInChunk; mov->mdat_size += size;