After encoding a wav to aac using this library there appears to be a "pop" sound at the start of the aac file that is not present in the original uncompressed file. You can clearly see this in the waveform:
Uncompressed:

Compressed:

Any ideas about why this is happening?