]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/vivo.c
Merge commit 'b0f36a0043d76436cc7ab8ff92ab99c94595d3c0'
[ffmpeg] / libavformat / vivo.c
index a9effd5835b2d1c11099e7e11e651e2ac36e13ca..c9e9c37f37dfbede0a94504c8fe025cc5c135984 100644 (file)
@@ -63,7 +63,7 @@ static int vivo_probe(AVProbeData *p)
         return 0;
     buf += 15;
 
-    if (*buf < '0' && *buf > '2')
+    if (*buf < '0' || *buf > '2')
         return 0;
 
     return AVPROBE_SCORE_MAX;