[FFmpeg-soc] [soc]: r2358 - in dvbmuxer: mpegenc.c mpegpesenc.c

bcoudurier subversion at mplayerhq.hu
Tue Jun 3 05:36:55 CEST 2008


Author: bcoudurier
Date: Tue Jun  3 05:36:55 2008
New Revision: 2358

Log:
align

Modified:
   dvbmuxer/mpegenc.c
   dvbmuxer/mpegpesenc.c

Modified: dvbmuxer/mpegenc.c
==============================================================================
--- dvbmuxer/mpegenc.c	(original)
+++ dvbmuxer/mpegenc.c	Tue Jun  3 05:36:55 2008
@@ -304,14 +304,10 @@ static int mpeg_mux_init(AVFormatContext
         st->priv_data = stream;
 
         /* set StreamInfo format */
-        if (s->is_dvd)
-            stream->format = PES_FMT_DVD;
-        if (s->is_svcd)
-            stream->format = PES_FMT_SVCD;
-        if (s->is_mpeg2)
-            stream->format = PES_FMT_MPEG2;
-        if (s->is_vcd)
-            stream->format = PES_FMT_VCD;
+        if (s->is_dvd)   stream->format = PES_FMT_DVD;
+        if (s->is_svcd)  stream->format = PES_FMT_SVCD;
+        if (s->is_mpeg2) stream->format = PES_FMT_MPEG2;
+        if (s->is_vcd)   stream->format = PES_FMT_VCD;
         av_set_pts_info(st, 64, 1, 90000);
 
         switch(st->codec->codec_type) {

Modified: dvbmuxer/mpegpesenc.c
==============================================================================
--- dvbmuxer/mpegpesenc.c	(original)
+++ dvbmuxer/mpegpesenc.c	Tue Jun  3 05:36:55 2008
@@ -25,13 +25,11 @@
 
 int ff_pes_muxer_init(AVFormatContext *ctx)
 {
-    AVStream *st;
-    StreamInfo *stream;
     int i;
 
     for(i=0;i<ctx->nb_streams;i++) {
-        st = ctx->streams[i];
-        stream = st->priv_data;
+        AVStream *st = ctx->streams[i];
+        StreamInfo *stream = st->priv_data;
         av_set_pts_info(st, 64, 1, 90000);
 
         switch(st->codec->codec_type) {



More information about the FFmpeg-soc mailing list