million and offset by a decrease in net changes in operating assets and liabilities of $45.7 million. The majority of the non-cash adjustments came from the amortization of the content library of $219.5 million which increased by $9.7 million over the prior period as we continue to purchase additional titles in order to support our larger subscriber base. The decrease in cash flow attributable to the net changes in operating assets and liabilities was mainly driven by acquisitions of content library related to our streaming content, as we continued to increase our investments in streaming content in 2009. Cash provided by operating activities increased $41.0 million in 2009 as compared to 2008. This was primarily due to an increase in net income of $32.8 million, increased non-cash adjustments of $27.3 million and a decrease in net changes in operating assets and liabilities of $19.1 million.

During 2008, our operating activities consisted primarily of net income of $83.0 million, increased by non-cash adjustments of $227.6 million offset by a decrease in net changes in operating assets and liabilities of $26.6 million. The majority of the non-cash adjustments came from the amortization of the content library of $209.8 million which increased by $6.3 million over the prior period as we continue to purchase additional titles in order to support our larger subscriber base. The decrease in net changes in operating assets and liabilities was mainly driven by acquisitions of content library related to our streaming content, as we continued to increase our investments in streaming content in 2008. Cash provided by operating activities increased $6.6 million in 2008 as compared to 2007. This was primarily due to an increase in net income of $16.4 million, increased non-cash adjustments of $32.3 million and a decrease in net changes in operating assets and liabilities of $42.1 million.

Investing Activities

Our investing activities consisted primarily of purchases, sales and maturities of available-for-sale securities, acquisitions of DVD content library and purchases of property and equipment. Cash used in investing activities increased $101.1 million in 2009 as compared to 2008. This increase was primarily driven by a decrease in the proceeds from the sales and maturities of short-term investments of $105.0 million offset partially by a decrease in the purchases of short term investments of $29.0 million. In addition, acquisitions of DVDs increased by $30.2 million.

Cash used in investing activities decreased $291.1 million in 2008 as compared to 2007. This decrease was primarily driven by a decrease in the purchases of short-term investments of $148.4 million coupled with an increase in the proceeds from the sales and maturities of short-term investments of $106.5 million. In addition, acquisitions of DVDs decreased by $45.8 million as more DVDs were obtained through revenue sharing agreements in 2008.

Financing Activities

Our financing activities consist primarily of issuance of debt, repurchases of our common stock, issuance of common stock, and the excess tax benefit from stock-based compensation. Cash used by financing activities