avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
[ffmpeg.git] / libavformat / img2dec.c
index 1d437f5..9acb6f6 100644 (file)
@@ -130,7 +130,7 @@ static int img_read_probe(AVProbeData *p)
         if (av_filename_number_test(p->filename))
             return AVPROBE_SCORE_MAX;
         else
-            return AVPROBE_SCORE_MAX / 2;
+            return AVPROBE_SCORE_EXTENSION;
     }
     return 0;
 }