[FFmpeg-soc] [soc]: r1226 - dvbmuxer/mpegtsenc.c

realsun subversion at mplayerhq.hu
Wed Aug 29 05:13:12 CEST 2007


Author: realsun
Date: Wed Aug 29 05:13:12 2007
New Revision: 1226

Log:
remove unused parameter

Modified:
   dvbmuxer/mpegtsenc.c

Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c	(original)
+++ dvbmuxer/mpegtsenc.c	Wed Aug 29 05:13:12 2007
@@ -531,8 +531,7 @@ static void retransmit_si_info(AVFormatC
 }
 
 static void mpegts_write_pes(AVFormatContext *s, MpegTSWriteStream *ts_st,
-                             const uint8_t *payload, int payload_size,
-                             int64_t pts, int64_t dts)
+                             const uint8_t *payload, int payload_size, int64_t dts)
 {
     MpegTSWrite *ts = s->priv_data;
     uint8_t buf[TS_PACKET_SIZE];
@@ -707,7 +706,7 @@ static int flush_packet(AVFormatContext 
     for(i=0;i<zero_trail_bytes;i++)
         bytestream_put_byte(&q, 0x00);
 
-    mpegts_write_pes(ctx, stream, stream->payload, q - stream->payload, pts, dts);
+    mpegts_write_pes(ctx, stream, stream->payload, q - stream->payload, dts);
     put_flush_packet(&ctx->pb);
 
     s->packet_number++;



More information about the FFmpeg-soc mailing list