[FFmpeg-cvslog] r9175 - trunk/libavformat/mpegts.c
michael
subversion
Sat Jun 2 23:48:49 CEST 2007
Author: michael
Date: Sat Jun 2 23:48:49 2007
New Revision: 9175
Log:
correct implementation of "try with auto_guess if first detection fails"
(untested)
Modified:
trunk/libavformat/mpegts.c
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c (original)
+++ trunk/libavformat/mpegts.c Sat Jun 2 23:48:49 2007
@@ -1271,10 +1271,10 @@ static int mpegts_read_header(AVFormatCo
handle_packets(ts, s->probesize);
}
- /* if could not find service, exit */
+ /* if could not find service, enable auto_guess */
if (ts->set_service_ret != 0)
- return -1;
+ ts->auto_guess = 1;
#ifdef DEBUG_SI
av_log(ts->stream, AV_LOG_DEBUG, "tuning done\n");
More information about the ffmpeg-cvslog
mailing list