Skip to content

Commit

Permalink
fixup operator precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
9adefaf01e5bf6426d838cd20eae582d2b6ba647 committed Aug 23, 2014
1 parent ac49066 commit 01e84ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions avs4x264mod.c
Expand Up @@ -486,7 +486,8 @@ int main(int argc, char *argv[])

#define abort_on_fail 1
#define print_on_success 2
#define print_and_break_on_success (2|4)
#define break_on_success 4
#define print_and_break_on_success (print_on_success|break_on_success)
#define simple_avs_invoke(filter, action) { \
infile = argv[i]; \
arg = avs_new_value_string( infile ); \
Expand All @@ -499,7 +500,7 @@ int main(int argc, char *argv[])
else { \
if (action & print_on_success) \
print_success(); \
if (action & print_and_break_on_success == print_and_break_on_success) \
if (action & break_on_success) \
break; \
} \
}
Expand Down

0 comments on commit 01e84ff

Please sign in to comment.