]> granicus.if.org Git - handbrake/commitdiff
avfilter: fix handling of bad settings
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 14 Apr 2017 23:13:38 +0000 (17:13 -0600)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 14 Apr 2017 23:13:38 +0000 (17:13 -0600)
After encountering a bad setting, it was removing all filters starting
with the one with bad settings.

libhb/avfilter.c

index cd78cb8c0c313cc20b607022160f3b038eda99ee..cc39a1a157b1827d6a60b94216a749ffe8b0338f 100644 (file)
@@ -774,6 +774,7 @@ void hb_avfilter_combine( hb_list_t * list )
             {
                 hb_list_rem(list, filter);
                 hb_filter_close(&filter);
+                hb_value_free(&settings);
                 continue;
             }
             if (avfilter == NULL)