[FFmpeg-cvslog] r9174 - trunk/libavformat/mpegts.c
michael
subversion
Sat Jun 2 23:44:21 CEST 2007
Author: michael
Date: Sat Jun 2 23:44:20 2007
New Revision: 9174
Log:
revert r4802 (try with auto_guess if first detection fails)
this change is broken, 3/4 of the code added is unreachable, ill implement
it correctly in a moment
Modified:
trunk/libavformat/mpegts.c
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c (original)
+++ trunk/libavformat/mpegts.c Sat Jun 2 23:44:20 2007
@@ -1221,7 +1221,6 @@ static int mpegts_read_header(AVFormatCo
ts->stream = s;
ts->auto_guess = 0;
-goto_auto_guess:
if (s->iformat == &mpegts_demuxer) {
/* normal demux */
@@ -1274,15 +1273,8 @@ goto_auto_guess:
}
/* if could not find service, exit */
- if (ts->set_service_ret != 0) {
- if(ts->auto_guess)
- return -1;
- else {
- //let's retry with auto_guess set
- ts->auto_guess = 1;
- goto goto_auto_guess;
- }
- }
+ if (ts->set_service_ret != 0)
+ return -1;
#ifdef DEBUG_SI
av_log(ts->stream, AV_LOG_DEBUG, "tuning done\n");
More information about the ffmpeg-cvslog
mailing list