[FFmpeg-cvslog] r9219 - trunk/libavformat/mpegts.c
michael
subversion
Tue Jun 5 00:23:05 CEST 2007
Author: michael
Date: Tue Jun 5 00:23:05 2007
New Revision: 9219
Log:
partially revert r2931 (Support raw mpegts streams from dvr)
the change was wrong
Modified:
trunk/libavformat/mpegts.c
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c (original)
+++ trunk/libavformat/mpegts.c Tue Jun 5 00:23:05 2007
@@ -1155,13 +1155,6 @@ static int mpegts_read_header(AVFormatCo
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(AVFormatCo
/* only read packets */
- do_pcr:
st = av_new_stream(s, 0);
if (!st)
goto fail;
More information about the ffmpeg-cvslog
mailing list