changeset 107:d73becdbbda5 libavformat

avoid detecting mpeg stream when other formats embed mp3 tracks.
author mmu_man
date Fri, 18 Apr 2003 14:35:15 +0000
parents 4da5d55b3690
children c1c8a0777bdb
files mpegts.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegts.c	Thu Apr 17 19:56:33 2003 +0000
+++ b/mpegts.c	Fri Apr 18 14:35:15 2003 +0000
@@ -78,7 +78,7 @@
     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,