diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@opendot.cl> | 2009-11-05 01:59:07 +0000 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@opendot.cl> | 2009-11-05 01:59:07 +0000 |
commit | a8e1cbaf18bc291f3ceb230582e2d84076e3a1fd (patch) | |
tree | 0970d49aeb0f70362310da44cca91b0c560fa6b8 /libavformat/mtv.c | |
parent | 55d2e32a409e62f19af0e0032a2b1f8f201465fb (diff) | |
download | ffmpeg-a8e1cbaf18bc291f3ceb230582e2d84076e3a1fd.tar.gz |
Decrement probe score at unsuported bpp
Originally committed as revision 20454 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mtv.c')
-rw-r--r-- | libavformat/mtv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c index 13e8ac2e8d..0c35b8121e 100644 --- a/libavformat/mtv.c +++ b/libavformat/mtv.c @@ -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; } |