libavfilter further code cleanup