------------------------------------------------------------ Release Notes for Transform SWF for Java, Version 2.1.1. ------------------------------------------------------------ This a minor release fixing bugs. Bug Fixes FSSoundConstructor: Now decodes MP3 files correctly. ------------- Bug Fixes ------------- 1. FSSoundConstructor: Now decodes MP3 files correctly. When an MP3 file contained a trailing ID3 block that overwrote part of the last frame in a file the decoder would scan this block for a new start of frame marker. If the scanning process started less than 11 bits (the size of the marker) from the end of the file then the method FSCodec.findBits() would go into an infinite loop. The cause was a bug in the way the findBits() method stepped through a block of data. If a read using the readBits() method would cause an overflow then the value of the internal pointer would be clamped to the end of the file. The pointer was then decremented by the size of the start of frame marker (11 bits) and incremented by the step size (8 bits). The next read would cause an overflow so the pointer was clamped and the process repeated ad infinitum. The process of decoding MP3 files now checks whether a frame has ended prematurely and the findBits() method now correctly adjusts for the actual number of bits read - not the expected number.