Mercurial > libavformat.hg
changeset 2146:7265c9aec984 libavformat
partially revert r2931 (Support raw mpegts streams from dvr)
the change was wrong
author | michael |
---|---|
date | Mon, 04 Jun 2007 22:23:05 +0000 |
parents | 3dd44fd1cbf4 |
children | 020cc5d6d6d7 |
files | mpegts.c |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegts.c Mon Jun 04 22:21:29 2007 +0000 +++ b/mpegts.c Mon Jun 04 22:23:05 2007 +0000 @@ -1155,13 +1155,6 @@ 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 @@ /* only read packets */ - do_pcr: st = av_new_stream(s, 0); if (!st) goto fail;