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:
parent
1638d956a3
commit
035e932d7c
@ -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…
Reference in New Issue
Block a user