Mercurial > libavformat.hg
changeset 2110:495161f79093 libavformat
correct implementation of "try with auto_guess if first detection fails"
(untested)
author | michael |
---|---|
date | Sat, 02 Jun 2007 21:48:49 +0000 |
parents | b5f2710d2dd0 |
children | 4aafc6050f39 |
files | mpegts.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegts.c Sat Jun 02 21:44:20 2007 +0000 +++ b/mpegts.c Sat Jun 02 21:48:49 2007 +0000 @@ -1271,10 +1271,10 @@ 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");