• Stefano Sabatini's avatar
    lavfi/hue: simplify/fix setting logic in set_options() · 7fe1ecef
    Stefano Sabatini authored
    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.
    7fe1ecef
vf_hue.c 14.4 KB