changeset 5343:932ea4344b75 libavformat

Decrement probe score at unsuported bpp
author reynaldo
date Thu, 05 Nov 2009 01:59:07 +0000
parents d2db7a53bc0d
children b596cf9ab248
files mtv.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mtv.c	Thu Nov 05 01:40:13 2009 +0000
+++ b/mtv.c	Thu Nov 05 01:59:07 2009 +0000
@@ -70,6 +70,9 @@
             return 0;
     }
 
+    if(p->buf[51] != 16)
+        return AVPROBE_SCORE_MAX/4; // But we are going to assume 16bbp anyway ..
+
     return AVPROBE_SCORE_MAX;
 }