diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 09fdbc327f787f43e4177f8e77c55afd1fb2dcd8..65cb6bb00f1a8c5ad8c0f9635dfa917d1d3d3927 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -155,7 +155,7 @@ static int latm_read_probe(AVProbeData *p)
         return AVPROBE_SCORE_EXTENSION;
     else if (max_frames >= 3)
         return AVPROBE_SCORE_EXTENSION / 2;
-    else if (max_frames >= 1)
+    else if (max_frames > 1)
         return 1;
     else
         return 0;