A total of four deaths due to swine flu (H1N1 virus) were registered here on Sunday.