diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-09-23 00:26:30 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-09-23 00:46:33 +0200 |
commit | 7fe1ecefe17b0146d49cd0003f80266a481d1faa (patch) | |
tree | 1a66e9e1eb53df84e409801ec27f63dfb5b093ff /libavfilter/avfilter.c | |
parent | eb949544caab31116743fbc63ba643916d84cedf (diff) | |
download | ffmpeg-7fe1ecefe17b0146d49cd0003f80266a481d1faa.tar.gz |
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.
Diffstat (limited to 'libavfilter/avfilter.c')
0 files changed, 0 insertions, 0 deletions