mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00: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