lavfi/hue: simplify/fix setting logic in set_options()
Parse expression only when a new value is explicitly specified. In particular, avoid double free in case an old expression value is cached, it is set in the context, it is freed as the old value, and finally the pointer stored in the context is freed again when the filter is released.
Showing
Please
register
or
sign in
to comment