Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
72ad0d56
Commit
72ad0d56
authored
Apr 12, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/hue: make do while (0) form meaningful.
parent
9fa3b5b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vf_hue.c
libavfilter/vf_hue.c
+4
-4
No files found.
libavfilter/vf_hue.c
View file @
72ad0d56
...
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment