[FFmpeg-soc] [soc]: r587 - dvbmuxer/muxer_dev/mpegtsenc.c

realsun subversion at mplayerhq.hu
Thu Aug 2 03:39:02 CEST 2007


Author: realsun
Date: Thu Aug  2 03:39:02 2007
New Revision: 587

Log:
cosmetics

Modified:
   dvbmuxer/muxer_dev/mpegtsenc.c

Modified: dvbmuxer/muxer_dev/mpegtsenc.c
==============================================================================
--- dvbmuxer/muxer_dev/mpegtsenc.c	(original)
+++ dvbmuxer/muxer_dev/mpegtsenc.c	Thu Aug  2 03:39:02 2007
@@ -540,11 +540,13 @@ static void mpegts_write_pes(AVFormatCon
     int val, is_start, len, header_len, write_pcr;
     int afc_len, stuffing_len;
     int64_t pcr = -1; /* avoid warning */
+
     int offset = 0, packet_count = 0;
     static int p = 0;
     is_start = 1;
     while (payload_size > 0) {
         retransmit_si_info(s);
+
         p++;
         write_pcr = 0;
         if (ts_st->pid == ts_st->service->pcr_pid) {
@@ -557,6 +559,7 @@ static void mpegts_write_pes(AVFormatCon
                 pcr = ts->last_pcr + packet_count * TS_PACKET_SIZE* 8*90000LL / ts->mux_rate;
             }
         }
+
         /* prepare packet header */
         q = buf;
         *q++ = 0x47;



More information about the FFmpeg-soc mailing list