summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-09-01 18:30:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-09-01 18:30:02 +0000
commit149f7c029ccdc649dc9ee523f1dcf23ab8d0f6ac (patch)
treedd5f8e170da1a9748dafb5ae8d37a9636c928658
parent77ee78bcdb4b597d29e5e635efe1b00d19386268 (diff)
fix MPEG-TS missdetected as MPEG-PS
Originally committed as revision 2194 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
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;
}