projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d287b04
)
correct implementation of "try with auto_guess if first detection fails"
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 2 Jun 2007 21:48:49 +0000
(21:48 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 2 Jun 2007 21:48:49 +0000
(21:48 +0000)
(untested)
Originally committed as revision 9175 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mpegts.c
patch
|
blob
|
history
diff --git
a/libavformat/mpegts.c
b/libavformat/mpegts.c
index
be431b1
..
3584234
100644
(file)
--- a/
libavformat/mpegts.c
+++ b/
libavformat/mpegts.c
@@
-1271,10
+1271,10
@@
static int mpegts_read_header(AVFormatContext *s,
handle_packets(ts, s->probesize);
}
- /* if could not find service, e
xit
*/
+ /* if could not find service, e
nable 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");