[FFmpeg-cvslog] r9179 - trunk/libavformat/mpegts.c

michael subversion
Sun Jun 3 01:14:38 CEST 2007


Author: michael
Date: Sun Jun  3 01:14:38 2007
New Revision: 9179

Log:
get rid of if(1)


Modified:
   trunk/libavformat/mpegts.c

Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c	(original)
+++ trunk/libavformat/mpegts.c	Sun Jun  3 01:14:38 2007
@@ -1213,7 +1213,6 @@ static int mpegts_read_header(AVFormatCo
     if (s->iformat == &mpegts_demuxer) {
         /* normal demux */
 
-        if (!ts->auto_guess) {
             /* first do a scaning to get all the services */
             url_fseek(pb, pos, SEEK_SET);
             mpegts_scan_sdt(ts);
@@ -1265,7 +1264,6 @@ static int mpegts_read_header(AVFormatCo
 #ifdef DEBUG_SI
             av_log(ts->stream, AV_LOG_DEBUG, "tuning done\n");
 #endif
-        }
         s->ctx_flags |= AVFMTCTX_NOHEADER;
     } else {
         AVStream *st;




More information about the ffmpeg-cvslog mailing list