diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-06-04 22:23:05 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-06-04 22:23:05 +0000 |
commit | e39291dfcf08fc7108efc95287bf2db13829cab5 (patch) | |
tree | 703dd8ce96b6c9adc5bf3e39d9e006ed4247e6a3 /libavformat/mpegts.c | |
parent | 77abe5e8587609af062a338109e617acae981c36 (diff) | |
download | ffmpeg-e39291dfcf08fc7108efc95287bf2db13829cab5.tar.gz |
partially revert r2931 (Support raw mpegts streams from dvr)
the change was wrong
Originally committed as revision 9219 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 7829c7fb4c..9063df617e 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1155,13 +1155,6 @@ static int mpegts_read_header(AVFormatContext *s, url_fseek(pb, pos, SEEK_SET); mpegts_scan_sdt(ts); - if (ts->nb_services <= 0 && 0) { - /* raw transport stream */ - ts->auto_guess = 1; - s->ctx_flags |= AVFMTCTX_NOHEADER; - goto do_pcr; - } - mpegts_set_service(ts); handle_packets(ts, s->probesize); @@ -1182,7 +1175,6 @@ static int mpegts_read_header(AVFormatContext *s, /* only read packets */ - do_pcr: st = av_new_stream(s, 0); if (!st) goto fail; |