mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 12:27:18 +00: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:
parent
68bf295e53
commit
6af6cf22c5
@ -78,7 +78,7 @@ static int mpegts_probe(AVProbeData *p)
|
|||||||
size = get_packet_size(p->buf, p->buf_size);
|
size = get_packet_size(p->buf, p->buf_size);
|
||||||
if (size < 0)
|
if (size < 0)
|
||||||
return 0;
|
return 0;
|
||||||
return AVPROBE_SCORE_MAX;
|
return AVPROBE_SCORE_MAX - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mpegts_read_header(AVFormatContext *s,
|
static int mpegts_read_header(AVFormatContext *s,
|
||||||
|
Loading…
Reference in New Issue
Block a user