diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-02-19 23:45:12 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-02-20 11:29:12 +0100 |
commit | dd3732634528a51ac8a41528ddd7447073fc049b (patch) | |
tree | db1a9979f8299eccba7b45e5e1e4b6e5bf16a415 | |
parent | d709a18ac2273321a98856e854b911f417db2cbd (diff) | |
download | ffmpeg-dd3732634528a51ac8a41528ddd7447073fc049b.tar.gz |
lavfi/hue: reindent after previous commit
-rw-r--r-- | libavfilter/vf_hue.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c index b36cbe4d81..59fc62cef1 100644 --- a/libavfilter/vf_hue.c +++ b/libavfilter/vf_hue.c @@ -134,39 +134,39 @@ static inline int set_options(AVFilterContext *ctx, const char *args) char *old_hue_expr, *old_hue_deg_expr, *old_saturation_expr; AVExpr *old_hue_pexpr, *old_hue_deg_pexpr, *old_saturation_pexpr; static const char *shorthand[] = { "h", "s", NULL }; - old_hue_expr = hue->hue_expr; - old_hue_deg_expr = hue->hue_deg_expr; - old_saturation_expr = hue->saturation_expr; - - old_hue_pexpr = hue->hue_pexpr; - old_hue_deg_pexpr = hue->hue_deg_pexpr; - old_saturation_pexpr = hue->saturation_pexpr; - - hue->hue_expr = NULL; - hue->hue_deg_expr = NULL; - hue->saturation_expr = NULL; - - if ((ret = av_opt_set_from_string(hue, args, shorthand, "=", ":")) < 0) - return ret; - if (hue->hue_expr && hue->hue_deg_expr) { - av_log(ctx, AV_LOG_ERROR, - "H and h options are incompatible and cannot be specified " - "at the same time\n"); - hue->hue_expr = old_hue_expr; - hue->hue_deg_expr = old_hue_deg_expr; - - return AVERROR(EINVAL); - } + old_hue_expr = hue->hue_expr; + old_hue_deg_expr = hue->hue_deg_expr; + old_saturation_expr = hue->saturation_expr; + + old_hue_pexpr = hue->hue_pexpr; + old_hue_deg_pexpr = hue->hue_deg_pexpr; + old_saturation_pexpr = hue->saturation_pexpr; + + hue->hue_expr = NULL; + hue->hue_deg_expr = NULL; + hue->saturation_expr = NULL; + + if ((ret = av_opt_set_from_string(hue, args, shorthand, "=", ":")) < 0) + return ret; + if (hue->hue_expr && hue->hue_deg_expr) { + av_log(ctx, AV_LOG_ERROR, + "H and h options are incompatible and cannot be specified " + "at the same time\n"); + hue->hue_expr = old_hue_expr; + hue->hue_deg_expr = old_hue_deg_expr; + + return AVERROR(EINVAL); + } - SET_EXPRESSION(hue_deg, h); - SET_EXPRESSION(hue, H); - SET_EXPRESSION(saturation, s); + SET_EXPRESSION(hue_deg, h); + SET_EXPRESSION(hue, H); + SET_EXPRESSION(saturation, s); - hue->flat_syntax = 0; + hue->flat_syntax = 0; - av_log(ctx, AV_LOG_VERBOSE, - "H_expr:%s h_deg_expr:%s s_expr:%s\n", - hue->hue_expr, hue->hue_deg_expr, hue->saturation_expr); + av_log(ctx, AV_LOG_VERBOSE, + "H_expr:%s h_deg_expr:%s s_expr:%s\n", + hue->hue_expr, hue->hue_deg_expr, hue->saturation_expr); compute_sin_and_cos(hue); |