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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/230/merge
Paul B Mahol 8 years ago
parent 1638d956a3
commit 035e932d7c
  1. 2
      libavformat/vivo.c

@ -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;

Loading…
Cancel
Save