projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
ffmpeg
/
compat
/
getopt.c
diff --git
a/src/third_party/ffmpeg/compat/getopt.c
b/src/third_party/ffmpeg/compat/getopt.c
index
9a9c542
..
41a641f
100644
(file)
--- a/
src/third_party/ffmpeg/compat/getopt.c
+++ b/
src/third_party/ffmpeg/compat/getopt.c
@@
-54,7
+54,7
@@
static int getopt(int argc, char *argv[], char *opts)
}
}
optopt = c = argv[optind][sp];
- if (c == ':' ||
(cp = strchr(opts, c)) == NULL
) {
+ if (c == ':' ||
!(cp = strchr(opts, c))
) {
fprintf(stderr, ": illegal option -- %c\n", c);
if (argv[optind][++sp] == '\0') {
optind++;