mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-05-04 10:06:40 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user