diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-03-05 16:34:32 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-03-05 16:34:32 +0100 |
commit | 035e932d7c039030bd8142bf2f99cbbd1d3e92cf (patch) | |
tree | 1595bfbb8937eaf572dbb9a43fe9b6d60f85d00f | |
parent | 1638d956a35c240e4f9ad2d8711dce06bd32838a (diff) | |
download | ffmpeg-035e932d7c039030bd8142bf2f99cbbd1d3e92cf.tar.gz |
avformat/vivo: fix logic error in checking version in probe
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavformat/vivo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vivo.c b/libavformat/vivo.c index a9effd5835..c9e9c37f37 100644 --- a/libavformat/vivo.c +++ b/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; |