Decrement probe score at unsuported bpp
Originally committed as revision 20454 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
55d2e32a40
commit
a8e1cbaf18
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user