The attached patch fixes a problem I have: mxfsplit creates output files carrying the same name. If I dump the essence of four audio tracks of a Panasonic P2 camera, I always have to rename files inbetween. This is tedious (and performs really bad when on ntfs-3g and big files renaming = cp then rm).
Just a suggestion though, and quite hackish as I am a C noob.
There is also a patch included that I needed to make it compile with GCC 4.3.2