Mehdi Mahmoudian, the Oscar-nominated co-writer of It Was Just and Accident, has been released from prison in Iran, according to reports.