Fixing instability in the lav audio codec