fix compilation without swscale