Fixes to FLV library.