EXCLUSIVE

Pippi Longstocking's sex tape is one step closer to coming into your home ... 'cause the chick who played the famous freckle-faced girl has now decided to allow a porn company to release the footage., TMZ has learned.

We broke the story ... someone has been shopping footage of 39-year-old Tami Erin getting down and dirty with an ex-BF. Last month, Tami appeared on 'TMZ Live" and claimed to be furious about the situation ... calling her ex a "piece of s**t."

Now, Tami has decided to stop fighting ... because she's convinced the tape is going see the light of day anyway ... and as long as it's going to happen, she wants to get paid.