[FFmpeg-cvslog] r14046 - trunk/libavformat/rtpdec.c

lucabe subversion
Wed Jul 2 12:26:23 CEST 2008


Author: lucabe
Date: Wed Jul  2 12:26:23 2008
New Revision: 14046

Log:
Reindent after last commit


Modified:
   trunk/libavformat/rtpdec.c

Modified: trunk/libavformat/rtpdec.c
==============================================================================
--- trunk/libavformat/rtpdec.c	(original)
+++ trunk/libavformat/rtpdec.c	Wed Jul  2 12:26:23 2008
@@ -365,16 +365,16 @@ static int rtp_parse_mp4_au(RTPDemuxCont
  */
 static void finalize_packet(RTPDemuxContext *s, AVPacket *pkt, uint32_t timestamp)
 {
-            if (s->last_rtcp_ntp_time != AV_NOPTS_VALUE) {
-                int64_t addend;
+    if (s->last_rtcp_ntp_time != AV_NOPTS_VALUE) {
+        int64_t addend;
+        int delta_timestamp;
 
-                int delta_timestamp;
-                /* compute pts from timestamp with received ntp_time */
-                delta_timestamp = timestamp - s->last_rtcp_timestamp;
-                /* convert to the PTS timebase */
-                addend = av_rescale(s->last_rtcp_ntp_time - s->first_rtcp_ntp_time, s->st->time_base.den, (uint64_t)s->st->time_base.num << 32);
-                pkt->pts = addend + delta_timestamp;
-            }
+        /* compute pts from timestamp with received ntp_time */
+        delta_timestamp = timestamp - s->last_rtcp_timestamp;
+        /* convert to the PTS timebase */
+        addend = av_rescale(s->last_rtcp_ntp_time - s->first_rtcp_ntp_time, s->st->time_base.den, (uint64_t)s->st->time_base.num << 32);
+        pkt->pts = addend + delta_timestamp;
+    }
     pkt->stream_index = s->st->index;
 }
 




More information about the ffmpeg-cvslog mailing list