summaryrefslogtreecommitdiffstats
path: root/libavformat/mpeg.c
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 /libavformat/mpeg.c
parent77ee78bcdb4b597d29e5e635efe1b00d19386268 (diff)
downloadffmpeg-streaming-149f7c029ccdc649dc9ee523f1dcf23ab8d0f6ac.zip
ffmpeg-streaming-149f7c029ccdc649dc9ee523f1dcf23ab8d0f6ac.tar.gz
fix MPEG-TS missdetected as MPEG-PS
Originally committed as revision 2194 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 489af7c..5b405ce 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;
}
OpenPOWER on IntegriCloud