Do not write negative int
Merge pull request #12 from funman/opus

Do not write negative int