Browse Source

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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.3
Paul B Mahol 9 years ago
parent
commit
035e932d7c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/vivo.c

+ 1
- 1
libavformat/vivo.c View 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;


Loading…
Cancel
Save