mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
get rid of if(1)
Originally committed as revision 9179 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9deb6d71b8
commit
b91811af83
@ -1213,7 +1213,6 @@ static int mpegts_read_header(AVFormatContext *s,
|
|||||||
if (s->iformat == &mpegts_demuxer) {
|
if (s->iformat == &mpegts_demuxer) {
|
||||||
/* normal demux */
|
/* normal demux */
|
||||||
|
|
||||||
if (!ts->auto_guess) {
|
|
||||||
/* first do a scaning to get all the services */
|
/* first do a scaning to get all the services */
|
||||||
url_fseek(pb, pos, SEEK_SET);
|
url_fseek(pb, pos, SEEK_SET);
|
||||||
mpegts_scan_sdt(ts);
|
mpegts_scan_sdt(ts);
|
||||||
@ -1265,7 +1264,6 @@ static int mpegts_read_header(AVFormatContext *s,
|
|||||||
#ifdef DEBUG_SI
|
#ifdef DEBUG_SI
|
||||||
av_log(ts->stream, AV_LOG_DEBUG, "tuning done\n");
|
av_log(ts->stream, AV_LOG_DEBUG, "tuning done\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
s->ctx_flags |= AVFMTCTX_NOHEADER;
|
s->ctx_flags |= AVFMTCTX_NOHEADER;
|
||||||
} else {
|
} else {
|
||||||
AVStream *st;
|
AVStream *st;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user