# HG changeset patch # User bcoudurier # Date 1212022473 0 # Node ID f7f09ceea9922f43673b24066444ebbdb26c56a4 # Parent 3307121162693982f3ad585bfb56265264e8e53f reindent diff -r 330712116269 -r f7f09ceea992 movenc.c --- 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;