Just realized that this will never occur as     remaining_size = raw_es_size - offset >= raw_es_size - (raw_es_size - audio_header->GetMinFrameSize()) = audio_header->GetMinFrameSize().     Can you remove the three lines from 72 - 74?    Sorry about the previous suggestion earlier.