Not that is too important but if for some reason you try to open a zero-length gig file libgig will get stuck, probably in some kind of infinite loop since the cpu usage goes 100% and the program stops responding. Steps to reproduce: touch test.gig gigdump test.gig
I just commited a fix to libgig CVS. It will now throw this Riff::Exception on empty files: "Not a RIFF file".