Decrement probe score at unsuported bpp

Originally committed as revision 20454 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 55d2e32a
...@@ -70,6 +70,9 @@ static int mtv_probe(AVProbeData *p) ...@@ -70,6 +70,9 @@ static int mtv_probe(AVProbeData *p)
return 0; return 0;
} }
if(p->buf[51] != 16)
return AVPROBE_SCORE_MAX/4; // But we are going to assume 16bbp anyway ..
return AVPROBE_SCORE_MAX; return AVPROBE_SCORE_MAX;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment