Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2009-11-05 04:59:07 +0300
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2009-11-05 04:59:07 +0300
commita8e1cbaf18bc291f3ceb230582e2d84076e3a1fd (patch)
tree0970d49aeb0f70362310da44cca91b0c560fa6b8 /libavformat/mtv.c
parent55d2e32a409e62f19af0e0032a2b1f8f201465fb (diff)
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.c3
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;
}