]> git.sesse.net Git - ffmpeg/commitdiff
cosmetics, remove braces, remove spaces just inside parens
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 6 Dec 2006 17:17:33 +0000 (17:17 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 6 Dec 2006 17:17:33 +0000 (17:17 +0000)
Originally committed as revision 7236 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/utils.c

index d838bc86c116ef10fcbbbcb0c256ab196d8e8a2f..16bc55358ea1d0738610045ce10ecadd160a069c 100644 (file)
@@ -2288,12 +2288,10 @@ static void truncate_ts(AVStream *st, AVPacket *pkt){
 //    if(pkt->dts < 0)
 //        pkt->dts= 0;  //this happens for low_delay=0 and b frames, FIXME, needs further invstigation about what we should do here
 
-    if( pkt->pts != AV_NOPTS_VALUE ) {
+    if (pkt->pts != AV_NOPTS_VALUE)
         pkt->pts &= pts_mask;
-    }
-    if( pkt->dts != AV_NOPTS_VALUE ) {
+    if (pkt->dts != AV_NOPTS_VALUE)
         pkt->dts &= pts_mask;
-    }
 }
 
 /**