Displays revision diff number in config.h.
Fix compilation error for debug build.
lwlibav: Change the progress calculation of the index creation.