1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2017-03-05 16:34:32 +01:00
parent 1638d956a3
commit 035e932d7c

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;