cosmetics: indentation
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 26 Apr 2012 15:07:41 +0000 (11:07 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 3 May 2012 20:28:08 +0000 (16:28 -0400)
libavformat/utils.c

index e867b73..658da8f 100644 (file)
@@ -987,15 +987,16 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
 
             if (pkt->pts != AV_NOPTS_VALUE || pkt->dts != AV_NOPTS_VALUE ||
                 duration) {
-            /* presentation is not delayed : PTS and DTS are the same */
-            if(pkt->pts == AV_NOPTS_VALUE)
-                pkt->pts = pkt->dts;
-            update_initial_timestamps(s, pkt->stream_index, pkt->pts, pkt->pts);
-            if(pkt->pts == AV_NOPTS_VALUE)
-                pkt->pts = st->cur_dts;
-            pkt->dts = pkt->pts;
-            if(pkt->pts != AV_NOPTS_VALUE)
-                st->cur_dts = pkt->pts + duration;
+                /* presentation is not delayed : PTS and DTS are the same */
+                if (pkt->pts == AV_NOPTS_VALUE)
+                    pkt->pts = pkt->dts;
+                update_initial_timestamps(s, pkt->stream_index, pkt->pts,
+                                          pkt->pts);
+                if (pkt->pts == AV_NOPTS_VALUE)
+                    pkt->pts = st->cur_dts;
+                pkt->dts = pkt->pts;
+                if (pkt->pts != AV_NOPTS_VALUE)
+                    st->cur_dts = pkt->pts + duration;
             }
         }
     }