Browse Source

Decrement probe score at unsuported bpp

Originally committed as revision 20454 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reynaldo H. Verdejo Pinochet 16 years ago
parent
commit
a8e1cbaf18
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavformat/mtv.c

+ 3
- 0
libavformat/mtv.c 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;
}



Loading…
Cancel
Save