From b91811af83130b0ef001b01f0919c6ffd92b3479 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Sat, 2 Jun 2007 23:14:38 +0000 Subject: [PATCH] get rid of if(1) Originally committed as revision 9179 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mpegts.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 1d47eec45a3..02b8d677b25 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1213,7 +1213,6 @@ static int mpegts_read_header(AVFormatContext *s, 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(AVFormatContext *s, #ifdef DEBUG_SI av_log(ts->stream, AV_LOG_DEBUG, "tuning done\n"); #endif - } s->ctx_flags |= AVFMTCTX_NOHEADER; } else { AVStream *st; -- GitLab