
Double Indemnity (1944), directed by Billy Wilder and co-written with Raymond Chandler from James M. Cain's novella, stars Fred MacMurray as an insurance salesman seduced by Barbara Stanwyck into murdering her husband for the life insurance payout — narrated from the moment he knows the plan has failed.
The Production Code forced Wilder to abandon Cain's original ending in which both killers die in the gas chamber. The revised ending — in which MacMurray's Walter Neff dies in the street while Edward G. Robinson's investigator watches — is more affecting than what Wilder had planned.
Reference:
TaskLoco™ — The Sticky Note GOAT