mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
correct implementation of "try with auto_guess if first detection fails"
(untested) Originally committed as revision 9175 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d287b04b6d
commit
165f503a27
@ -1271,10 +1271,10 @@ static int mpegts_read_header(AVFormatContext *s,
|
|||||||
|
|
||||||
handle_packets(ts, s->probesize);
|
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)
|
if (ts->set_service_ret != 0)
|
||||||
return -1;
|
ts->auto_guess = 1;
|
||||||
|
|
||||||
#ifdef DEBUG_SI
|
#ifdef DEBUG_SI
|
||||||
av_log(ts->stream, AV_LOG_DEBUG, "tuning done\n");
|
av_log(ts->stream, AV_LOG_DEBUG, "tuning done\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user