diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-29 00:54:33 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-29 00:54:33 +0000 |
commit | c4f078ffe1317dc1ef82622987776bc39f310865 (patch) | |
tree | dfb10004b29bc4c697ed7865cd995697b8233c91 /libavformat/movenc.c | |
parent | e95580e70a8c0102cc2a399dff25307211a9b7ca (diff) | |
download | ffmpeg-c4f078ffe1317dc1ef82622987776bc39f310865.tar.gz |
reindent
Originally committed as revision 13518 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index efbce4ed21..49c30b0070 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1607,12 +1607,12 @@ static int mov_write_packet(AVFormatContext *s, AVPacket *pkt) 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; |