Mercurial > libavformat.hg
comparison utils.c @ 1555:5f829140788e libavformat
cosmetics, remove braces, remove spaces just inside parens
author | bcoudurier |
---|---|
date | Wed, 06 Dec 2006 17:17:33 +0000 |
parents | 1eaba8bc0ab1 |
children | 65b7b3ff4ed7 |
comparison
equal
deleted
inserted
replaced
1554:1eaba8bc0ab1 | 1555:5f829140788e |
---|---|
2286 int64_t pts_mask = (2LL << (st->pts_wrap_bits-1)) - 1; | 2286 int64_t pts_mask = (2LL << (st->pts_wrap_bits-1)) - 1; |
2287 | 2287 |
2288 // if(pkt->dts < 0) | 2288 // if(pkt->dts < 0) |
2289 // pkt->dts= 0; //this happens for low_delay=0 and b frames, FIXME, needs further invstigation about what we should do here | 2289 // pkt->dts= 0; //this happens for low_delay=0 and b frames, FIXME, needs further invstigation about what we should do here |
2290 | 2290 |
2291 if( pkt->pts != AV_NOPTS_VALUE ) { | 2291 if (pkt->pts != AV_NOPTS_VALUE) |
2292 pkt->pts &= pts_mask; | 2292 pkt->pts &= pts_mask; |
2293 } | 2293 if (pkt->dts != AV_NOPTS_VALUE) |
2294 if( pkt->dts != AV_NOPTS_VALUE ) { | |
2295 pkt->dts &= pts_mask; | 2294 pkt->dts &= pts_mask; |
2296 } | |
2297 } | 2295 } |
2298 | 2296 |
2299 /** | 2297 /** |
2300 * Write a packet to an output media file. | 2298 * Write a packet to an output media file. |
2301 * | 2299 * |