ffmpeg | branch: master | Paul B Mahol <[email protected]> | Sun Mar 5 16:34:32 2017 +0100| [035e932d7c039030bd8142bf2f99cbbd1d3e92cf] | committer: Paul B Mahol
avformat/vivo: fix logic error in checking version in probe Signed-off-by: Paul B Mahol <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=035e932d7c039030bd8142bf2f99cbbd1d3e92cf --- libavformat/vivo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/vivo.c b/libavformat/vivo.c index a9effd5..c9e9c37 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; _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
