swscale: make access to filter data conditional on filter type.