From 149f7c029ccdc649dc9ee523f1dcf23ab8d0f6ac Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 1 Sep 2003 18:30:02 +0000 Subject: [PATCH] fix MPEG-TS missdetected as MPEG-PS Originally committed as revision 2194 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 489af7ca1c..5b405ce3c6 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -429,7 +429,7 @@ static int mpegps_probe(AVProbeData *p) code == PROGRAM_STREAM_MAP || code == PRIVATE_STREAM_1 || code == PADDING_STREAM) - return AVPROBE_SCORE_MAX - 1; + return AVPROBE_SCORE_MAX - 2; else return 0; }