]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/avfilter: Fix indentation
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 21 Aug 2020 23:54:26 +0000 (01:54 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 25 Aug 2020 22:15:14 +0000 (00:15 +0200)
Forgotten after fdd93eabfb2644f541f7aac9943abce26776ea73.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/avfilter.c

index dd8074e462f997da9cb88838ba572195c1baddf3..cf3b4e461d0d582be443bb4cb7e822f470db9490 100644 (file)
@@ -857,17 +857,17 @@ static int process_options(AVFilterContext *ctx, AVDictionary **options,
                 return ret;
             }
         } else {
-        av_dict_set(options, key, value, 0);
-        if ((ret = av_opt_set(ctx->priv, key, value, AV_OPT_SEARCH_CHILDREN)) < 0) {
-            if (!av_opt_find(ctx->priv, key, NULL, 0, AV_OPT_SEARCH_CHILDREN | AV_OPT_SEARCH_FAKE_OBJ)) {
-            if (ret == AVERROR_OPTION_NOT_FOUND)
-                av_log(ctx, AV_LOG_ERROR, "Option '%s' not found\n", key);
-            av_free(value);
-            av_free(parsed_key);
-            return ret;
+            av_dict_set(options, key, value, 0);
+            if ((ret = av_opt_set(ctx->priv, key, value, AV_OPT_SEARCH_CHILDREN)) < 0) {
+                if (!av_opt_find(ctx->priv, key, NULL, 0, AV_OPT_SEARCH_CHILDREN | AV_OPT_SEARCH_FAKE_OBJ)) {
+                    if (ret == AVERROR_OPTION_NOT_FOUND)
+                        av_log(ctx, AV_LOG_ERROR, "Option '%s' not found\n", key);
+                    av_free(value);
+                    av_free(parsed_key);
+                    return ret;
+                }
             }
         }
-        }
 
         av_free(value);
         av_free(parsed_key);