aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-11-10 00:02:06 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-10 00:02:06 +0000
commitf4824c0f305a4a9698537ceaf80dfd5eb4131706 (patch)
tree496787596cd4dcb84508e01113a269d021fed677 /libavformat
parent4eff7cf42dbc39908cb529cdf2366b09b9ca3c1a (diff)
downloadffmpeg-f4824c0f305a4a9698537ceaf80dfd5eb4131706.tar.gz
prefer image2 over image
Originally committed as revision 3666 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/img.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img.c b/libavformat/img.c
index 83c3c0691a..95ab56b7e1 100644
--- a/libavformat/img.c
+++ b/libavformat/img.c
@@ -90,7 +90,7 @@ static int find_image_range(int *pfirst_index, int *plast_index,
static int image_probe(AVProbeData *p)
{
if (filename_number_test(p->filename) >= 0 && guess_image_format(p->filename))
- return AVPROBE_SCORE_MAX;
+ return AVPROBE_SCORE_MAX-1;
else
return 0;
}