Decrement probe score at unsuported bpp

Originally committed as revision 20454 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2009-11-05 01:59:07 +00:00
parent 55d2e32a40
commit a8e1cbaf18

View File

@ -70,6 +70,9 @@ static int mtv_probe(AVProbeData *p)
return 0;
}
if(p->buf[51] != 16)
return AVPROBE_SCORE_MAX/4; // But we are going to assume 16bbp anyway ..
return AVPROBE_SCORE_MAX;
}