Disable swscale if avcodec is disabled