Fix bug in depacketization when a decoding error occurs in a packet with multiple sections