OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1638d95
)
avformat/vivo: fix logic error in checking version in probe
author
Paul B Mahol
<onemda@gmail.com>
Sun, 5 Mar 2017 15:34:32 +0000
(16:34 +0100)
committer
Paul B Mahol
<onemda@gmail.com>
Sun, 5 Mar 2017 15:34:32 +0000
(16:34 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/vivo.c
patch
|
blob
|
history
diff --git
a/libavformat/vivo.c
b/libavformat/vivo.c
index
a9effd5
..
c9e9c37
100644
(file)
--- 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;