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

bcoudurier subversion at mplayerhq.hu
Mon Mar 10 14:35:12 CET 2008


Author: bcoudurier
Date: Mon Mar 10 14:35:12 2008
New Revision: 2001

Log:
remove useless variables

Modified:
   dvbmuxer/mpegtsenc.c

Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c	(original)
+++ dvbmuxer/mpegtsenc.c	Mon Mar 10 14:35:12 2008
@@ -786,18 +786,7 @@ static int output_packet(AVFormatContext
 
 static int mpegts_write_packet(AVFormatContext *ctx, AVPacket *pkt)
 {
-    int stream_index= pkt->stream_index;
-    int size = pkt->size;
-    static int total_size = 0;
-    AVStream *st = ctx->streams[stream_index];
-    MpegTSWriteStream *stream = st->priv_data;
-    PESStream *pes_stream = &stream->pes_stream;
-    int64_t pts;
-
-    total_size += size;
     ff_pes_write_packet(ctx, pkt);
-    pts= pes_stream->predecode_packet->pts;
-
     for(;;){
         int ret = output_packet(ctx, 0);
         if(ret<=0)



More information about the FFmpeg-soc mailing list