changeset 210:0533547fb150 libavformat

fix MPEG-TS missdetected as MPEG-PS
author michaelni
date Mon, 01 Sep 2003 18:30:02 +0000
parents 7414bbf64011
children 349d63d52e7e
files mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg.c	Mon Sep 01 15:55:38 2003 +0000
+++ b/mpeg.c	Mon Sep 01 18:30:02 2003 +0000
@@ -429,7 +429,7 @@
                 code == PROGRAM_STREAM_MAP ||
                 code == PRIVATE_STREAM_1 ||
                 code == PADDING_STREAM)
-                return AVPROBE_SCORE_MAX - 1;
+                return AVPROBE_SCORE_MAX - 2;
             else
                 return 0;
         }