1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

lavfi/hue: make do while (0) form meaningful.

This commit is contained in:
Clément Bœsch 2013-04-12 20:10:58 +02:00
parent 9fa3b5b8a8
commit 72ad0d56a1

View File

@ -302,8 +302,8 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar
{ {
HueContext *hue = ctx->priv; HueContext *hue = ctx->priv;
#define SET_CMD(expr, option) \ #define SET_CMD(expr, option) do { \
if (!strcmp(cmd, option)) do { \ if (!strcmp(cmd, option)) \
return set_expr(&hue->expr##_pexpr, args, cmd, ctx); \ return set_expr(&hue->expr##_pexpr, args, cmd, ctx); \
} while (0) } while (0)
SET_CMD(hue_deg, "h"); SET_CMD(hue_deg, "h");