changes for lame to write Xing tag at the end
mayaswell reuse the same buffer