lsmashinput: Split some codes of Libav reader into files.