1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avoid detecting mpeg stream when other formats embed mp3 tracks.

Originally committed as revision 1788 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
François Revol 2003-04-18 14:35:15 +00:00
parent 68bf295e53
commit 6af6cf22c5

View File

@ -78,7 +78,7 @@ static int mpegts_probe(AVProbeData *p)
size = get_packet_size(p->buf, p->buf_size);
if (size < 0)
return 0;
return AVPROBE_SCORE_MAX;
return AVPROBE_SCORE_MAX - 1;
}
static int mpegts_read_header(AVFormatContext *s,