libxvid: Return meaningful error messages