indent
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Jul 2008 23:26:26 +0000 (23:26 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Jul 2008 23:26:26 +0000 (23:26 +0000)
Originally committed as revision 14133 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/utils.c

index b90436a97730987e818593cf0212172c8f04837c..20df8b7d7ba16f0b7822e931e7eb6d4c6fffb2d1 100644 (file)
@@ -747,7 +747,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
             if (st->last_IP_duration == 0)
                 st->last_IP_duration = pkt->duration;
             if(pkt->dts != AV_NOPTS_VALUE)
-            st->cur_dts = pkt->dts + st->last_IP_duration;
+                st->cur_dts = pkt->dts + st->last_IP_duration;
             st->last_IP_duration  = pkt->duration;
             st->last_IP_pts= pkt->pts;
             /* cannot compute PTS if not present (we can compute it only
@@ -770,7 +770,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
                 pkt->pts = st->cur_dts;
             pkt->dts = pkt->pts;
             if(pkt->pts != AV_NOPTS_VALUE)
-            st->cur_dts = pkt->pts + pkt->duration;
+                st->cur_dts = pkt->pts + pkt->duration;
         }
     }