avoid detecting mpeg stream when other formats embed mp3 tracks.

Originally committed as revision 1788 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
François Revol 22 years ago
parent 68bf295e53
commit 6af6cf22c5
  1. 2
      libavformat/mpegts.c

@ -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,

Loading…
Cancel
Save