diff mpegts.c @ 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 a58a8a53eb46
children cc03a75cbde4
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,