projects
/
handbrake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b39486
)
cli: fix return value check for hb_presets_add_path()
author
jstebbins
<jstebbins.hb@gmail.com>
Fri, 15 May 2015 21:28:46 +0000
(21:28 +0000)
committer
jstebbins
<jstebbins.hb@gmail.com>
Fri, 15 May 2015 21:28:46 +0000
(21:28 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7191
b64f7644
-9d1e-0410-96f1-
a4d463321fa5
test/test.c
patch
|
blob
|
history
diff --git
a/test/test.c
b/test/test.c
index 640db68ae6e9c842c4e4c5398d95f668cbe406ec..81fcba6104ef568ada9ded276da57d64fb2e2442 100644
(file)
--- a/
test/test.c
+++ b/
test/test.c
@@
-1941,7
+1941,7
@@
static int ParseOptions( int argc, char ** argv )
while (optind < argc && argv[optind][0] != '-')
{
int result = hb_presets_add_path(argv[optind]);
- if (result
!=
0)
+ if (result
<
0)
{
fprintf(stderr, "Preset import failed, file (%s)\n",
argv[optind]);