A defendant who has been imprisoned for default in the payment of a fine, or fine and costs, under a sentence imposed pursuant to Article 884, may, at any time before expiration of the term of imprisonment, obtain his release by paying to his custodian all of the costs imposed and a sum of money that bears the same proportion to the imposed fine as the term of alternate imprisonment yet to run bears to the whole of such term of imprisonment.
Amended by Acts 1970, No. 293, §1.