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

bcoudurier subversion at mplayerhq.hu
Mon Jun 2 22:28:44 CEST 2008


Author: bcoudurier
Date: Mon Jun  2 22:28:44 2008
New Revision: 2345

Log:
simplify

Modified:
   dvbmuxer/mpegtsenc.c

Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c	(original)
+++ dvbmuxer/mpegtsenc.c	Mon Jun  2 22:28:44 2008
@@ -619,7 +619,7 @@ static int flush_packet(AVFormatContext 
     MpegTSWrite *s = ctx->priv_data;
     MpegTSWriteStream *stream = ctx->streams[stream_index]->priv_data;
     StreamInfo *pes_stream = &stream->pes_stream;
-    int payload_size, id, startcode, stuffing_size, i, header_len;
+    int payload_size,startcode, stuffing_size, i, header_len;
     int packet_size, es_size;
     int zero_trail_bytes = 0;
     int pad_packet_bytes = 0;
@@ -627,7 +627,6 @@ static int flush_packet(AVFormatContext 
     int pes_size;
 
     pes_stream->format = PES_FMT_TS;
-    id = stream->id;
     packet_size = s->packet_size;
 
     if (packet_size > 0) {



More information about the FFmpeg-soc mailing list