Commit 6af6cf22 authored by François Revol's avatar François Revol

avoid detecting mpeg stream when other formats embed mp3 tracks.

Originally committed as revision 1788 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 68bf295e
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment