This is a continuation of last year's version of this filter patch, see also https://ffmpeg.org/pipermail/ffmpeg-devel/2023-January/305517.html It includes a fix in one of the stride variables and some cleanup in order to adhere even more to the FFmpeg coding guidelines. Christian Helmrich Fraunhofer HHI