summaryrefslogtreecommitdiff
path: root/libavfilter/vf_hue.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-12 20:10:58 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-12 20:10:58 +0200
commit72ad0d56a135682681ccf41943b1146496d7602c (patch)
tree52071fdf07e962eba8061a7e7a583f920bf53220 /libavfilter/vf_hue.c
parent9fa3b5b8a899535ffd6845c3cc26b98412af18a0 (diff)
lavfi/hue: make do while (0) form meaningful.
Diffstat (limited to 'libavfilter/vf_hue.c')
-rw-r--r--libavfilter/vf_hue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c
index af3a2ac18c..038f7f7af7 100644
--- a/libavfilter/vf_hue.c
+++ b/libavfilter/vf_hue.c
@@ -302,10 +302,10 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar
{
HueContext *hue = ctx->priv;
-#define SET_CMD(expr, option) \
- if (!strcmp(cmd, option)) do { \
- return set_expr(&hue->expr##_pexpr, args, cmd, ctx); \
- } while (0)
+#define SET_CMD(expr, option) do { \
+ if (!strcmp(cmd, option)) \
+ return set_expr(&hue->expr##_pexpr, args, cmd, ctx); \
+} while (0)
SET_CMD(hue_deg, "h");
SET_CMD(hue, "H");
SET_CMD(saturation, "s");