avfilter mem issues