[FFmpeg-cvslog] r20454 - trunk/libavformat/mtv.c
reynaldo
subversion
Thu Nov 5 02:59:07 CET 2009
Author: reynaldo
Date: Thu Nov 5 02:59:07 2009
New Revision: 20454
Log:
Decrement probe score at unsuported bpp
Modified:
trunk/libavformat/mtv.c
Modified: trunk/libavformat/mtv.c
==============================================================================
--- trunk/libavformat/mtv.c Thu Nov 5 02:40:13 2009 (r20453)
+++ trunk/libavformat/mtv.c Thu Nov 5 02:59:07 2009 (r20454)
@@ -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;
}
More information about the ffmpeg-cvslog
mailing list