summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2003-04-18 14:35:15 +0000
committerFrançois Revol <revol@free.fr>2003-04-18 14:35:15 +0000
commit6af6cf22c53ed4e149b215a862b5e81649150990 (patch)
tree6733f1af0f96b5b6d2e0f19613b22f5cf848e3bc /libavformat/mpegts.c
parent68bf295e53fb6322f1f603015f20b8a15d6a8083 (diff)
avoid detecting mpeg stream when other formats embed mp3 tracks.
Originally committed as revision 1788 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index df3aca89b7..92e1d51389 100644
--- a/libavformat/mpegts.c
+++ b/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,