Are you using libFLAC directly or are you processing a WAV file through FLAC? Please note all data supplied to libFLAC has to be signed, so a signal between 0 and -1 would not be normalized as libFLAC sees it.