Commit 035e932d authored by Paul B Mahol's avatar Paul B Mahol

avformat/vivo: fix logic error in checking version in probe

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 1638d956
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment